This reminds me of the O(1) algorithm for solving the N-body problem with lightbulbs and photosensors. It was used in 1941 to do the first “simulation” of merging galaxies.

There was a similarly wonderful sorting algorithm that was named something like Multiverse Sort, where on sort it spawned one process (one universe) for each permutation of the inputs and then every universe which was not “born” sorted is destroyed.

This reminds me of the O(1) algorithm for solving the N-body problem with lightbulbs and photosensors. It was used in 1941 to do the first “simulation” of merging galaxies.

http://adsabs.harvard.edu/cgi-bin/bib_query?1941ApJ....94..385H

The figure in the paper shows it produced nice tidal spiral arms:

http://articles.adsabs.harvard.edu//full/1941ApJ....94..385H/0000391.000.html

This works because both the strength of gravity and the brightness of a lightbulb fall of as 1/r^2.

Every N-body simulation done on a computer is in some sense less efficient than this, since at best computer simulations use an O(Nlog(N)) algorithm.

The best sorting algorithm is obviously sleep sort.

There was a similarly wonderful sorting algorithm that was named something like Multiverse Sort, where on sort it spawned one process (one universe) for each permutation of the inputs and then every universe which was not “born” sorted is destroyed.

Why is it that so many websites will switch you to a mobile link on mobile but none will switch you back on desktop?