Re: [webkit-dev] WTF and STL

2015-06-23 Thread Darin Adler
On Jun 23, 2015, at 1:40 AM, youenn fablet youe...@gmail.com wrote: Vector Many features in WTF::Vector are critical to performance, such as inline capacity, the specifics of its growth strategy, functions to preallocate at a particular size, and to trim once allocated. Some might have

[webkit-dev] WTF and STL

2015-06-23 Thread youenn fablet
Hi all, STL classes such as std::function, std::unique_ptr are being used nowadays in WebKit. The STL has some advantages, such as better documentation, being familiar to non-WebKit developers... I am wondering whether we should and could use more of the STL. For instance, constructs that I know