[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Alpha release!
>>>>> "Kasper" == Kasper Peeters <t16@nikhef.nl> writes:
Kasper> At this point, I would again like to make a strong
Kasper> recommendation in favour of the standard library,
Kasper> especially since g++ now has a good implementation of
Kasper> 'string' and handles the basic STL containers ('vector',
Kasper> 'list' and so on) very well.
Warning about STL. In situations where many STL containers are
needed, it is customary to set a more granular preallocaiton buffer
size. This reduces memory wastage considerably. However in the C++
draft the methods for manipluating allocator sizes have been removed.
I personally feel that STL is not necessary. We should be able to
short list the containers we need ( vector, map, pair, string ) and implement
them ourselves. If portability is an issue, we can keep the interface
of STL.