haiku/headers/build
Rene Gollent 0c8bdbafd5 Revamp BList somewhat to further optimize the resizing behavior.
We now keep track of a lower bound as to when the list should scale
itself back down. When increasing the list size, we double the current,
with the lower bound set to 1/4 of the current size, not allowing it to
go any smaller than the block size. These combined allow us to do very
cheap tests to see if an operation requires a resize at all, and minimize
how often the list actually needs to be resized, since the difference in upper
and lower bounds prevents bouncing back and forth between a size in the case
of adding/removing an item while close to a boundary. All in all this should
make BList noticably more scalable when doing large numbers of add/remove
operations.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-12 21:30:28 +00:00
..
gcc-2.95.3 Second stab at reorganizing standard/gcc headers. This time it not only 2008-03-16 17:21:37 +00:00
host * Added a common directory for missing system on BeOS systems. 2007-08-24 21:05:20 +00:00
os Revamp BList somewhat to further optimize the resizing behavior. 2008-06-12 21:30:28 +00:00
private Naive implementation of transfer_area(). It follows the suggested sematics 2008-03-09 12:56:59 +00:00
BeOSBuildCompatibility.h <fcntl.h> needs to be included for O_NOFOLLOW. 2007-09-05 02:54:24 +00:00
HaikuBuildCompatibility.h Added one more define that helps when host headers are included. 2008-06-07 12:39:14 +00:00