Comment

Comment by reichstein

It is as silly as bogosort.

It's queue-sort. You put the elements into a priority queue, then remove them in property order and put them into a list.

Here you just use the inherent queue of a timer system, which wastes time between extracting the next element. That's silly and inefficient, and disingenuous in trying to hide the queue.

parent reichstein 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton