Why C++ compiles slowly

Walter Bright newshound2 at digitalmars.com
Wed Aug 25 13:39:34 PDT 2010


bearophile wrote:
> And regarding the problem of searching in a sequence of items, if the
> sequence is small (probably up to 10 or 20 if the items are integers, the
> language is a low level one and the associative array is not very efficient),
> a linear search or a binary search is often faster.

Yup, and that piece of code was written in a time where there were very few 
items added into the string table. It never showed up on the radar before.


More information about the Digitalmars-d mailing list