Hi, On Wed, 2 Jun 2010, Richard Guenther wrote:
> Well, on the one hand I agree - but on the other hand I see people > eagerly waiting to be the first to post patches to convert all VEC uses > that allocate from the heap(!) (yes - we can't use STL for GC allocated > stuff!), leaving us with files that use a mix of stl::vector and VEC. > VEC is clearly superior here in that it provides a general vector > implementation which can allocate from GC space, heap or even the stack. > Why switch to a less capable implementation? > > OTOH for pointer-map and pointer-set I see little value keeping it (it > can't be used for GC allocated stuff), so std::map and std::set are a > perfect fit. Except of course that our STL map and set are binary tree based and pointer_map/set are hash based, and hence require less lookups in most cases. Ciao, Michael.