3 ms·
That's clever, but it still requires writing to the array, which is dodgy in many circumstances; other threads may be using it, so the search function is likely
by mkl 7y ago
That's clever, but it still requires writing to the array, which is dodgy in many circumstances; other threads may be using it, so the search function is likely to be given only read-only access.