4 ms·
The lookup cost is O(logN). Why do you claim this is "usually unacceptable"? I think it is virtually always acceptable.
by Peaker 13y ago
The lookup cost is O(logN). Why do you claim this is "usually unacceptable"? I think it is virtually always acceptable.
- magnusjonsson 13y agoThe constant factor is huge compared to a straight pointer.
- Peaker 13y agoMost parts of most programs aren't performance centric and can take a hit. As evidence, see all the Ruby/Python programs that have constant penalties that go up to 200 in many cases.