3 ms·
The memory optimization at the end is neat I assume there are generally only a few channel ids being used, since otherwise the code could've still been optimiz
by __s 5y ago
The memory optimization at the end is neat
I assume there are generally only a few channel ids being used, since otherwise the code could've still been optimized to use a bitset instead of an array of numbers. That'd only require 8192 bytes, a sixteenth of previous code, but still quite a bit more than the 64 bytes an empty array uses