3 ms·
the problem is that O(1) here can be hundreds of nanoseconds which has a pretty notable impact for arrays shorter than a few thousand
by adgjlsfhk1 3y ago
the problem is that O(1) here can be hundreds of nanoseconds which has a pretty notable impact for arrays shorter than a few thousand