2 ms·
This was written in assembly and to do that you'd have to make a new register of all the references while randomizing. Your approach works great in modern, hig
by bkanber 9y ago
This was written in assembly and to do that you'd have to make a new register of all the references while randomizing. Your approach works great in modern, high level languages where there's no issue copying an array in memory and calling array_shuffle or something, and doubling the memory requirement for the effect is no problem. This approach however seems to only require 17 bits of additional memory.