PLF is a collection of library modules for C++. Please click on the links below to learn more about the different modules and to download. All modules are under a permissive Zlib license and support C++03/C++11/C++14. Tested compilers include Clang 3.61-3.71, GCC 4.6-5.1 (32-bit and 64-bit), MS Visual C++ 2010-2015.
plf::colony - An unordered data container providing fast iteration/insertion/erasure while maintaining pointer validity to non-erased elements.
plf::stack - A data container replicating std::stack functionality but with better performance than standard library containers in a stack context.
plf::nanotimer - A cross-platform lowest-overhead microsecond-precision timer for simple benchmarking on Linux/BSD/Windows/Mac.
the jump-counting skipfield pattern (PDF) - A skipfield pattern which avoids branching during iteration. Used by colony.
The following talk entitled "Colonies, performance and why you should care" was presented at CPPcon 2016:
The slides for the talk are available here.
plf:: library and this page Copyright (c) 2016, Matthew Bentley