2 ms·
An algorithm that performs a full iteration where a single lookup is sufficient, is a very bad algorithm. An iterator implementation that introduces 100x overhe
by EVa5I7bHFq9mnYK 2y ago
An algorithm that performs a full iteration where a single lookup is sufficient, is a very bad algorithm. An iterator implementation that introduces 100x overhead is a very bad implementation. C++ has types and generics and pipes and is pretty efficient.
- neonsunset 2y agoC++ is absolutely terrible at this, either UX or performance (or sometimes both), and it's not even close ;)