Commit Graph

1827 Commits

Author SHA1 Message Date
Ion Gaztañaga 22337cbc2c Expanded flat_set/map section 2026-06-07 00:42:36 +02:00
Ion Gaztañaga b9f10e7c83 Expand devector doc section. 2026-06-07 00:12:31 +02:00
Ion Gaztañaga 697835c6c5 Micro-optimization for emplace: early load mask into a register in case the compiler does not fully inline construct_or_restore_capacity (e.g. MSVC) 2026-06-06 19:32:38 +02:00
Ion Gaztañaga e5f0a15e30 Add geomean summary tables to hub's performance chapter 2026-06-06 19:30:52 +02:00
Ion Gaztañaga 418577be43 Expand static_vector documentation section 2026-06-06 18:32:51 +02:00
Ion Gaztañaga a481544c5c Expand "small_vector" chapter with example and expected usage 2026-06-06 13:37:02 +02:00
Ion Gaztañaga ca2115baa1 Protect test agains BOOST_NO_EXCEPTIONS 2026-06-06 00:33:50 +02:00
Ion Gaztañaga 6cccfaca5a Fix -Wundef 2026-06-06 00:33:32 +02:00
Ion Gaztañaga 9ea30ca34e Protect example from <= C++11 2026-06-06 00:33:05 +02:00
Ion Gaztañaga 050cf8d856 Make tests compatible with BOOST_NO_EXCEPTIONS 2026-06-06 00:04:04 +02:00
Ion Gaztañaga 55b0e3bdf4 Make hub use Boost.Container's throw_exception mechanism 2026-06-06 00:02:58 +02:00
Ion Gaztañaga 8c3210b0f2 Add hub pretty printers 2026-06-05 23:50:40 +02:00
Ion Gaztañaga 94608e4cd9 Add hub tests and example 2026-06-05 23:50:25 +02:00
Ion Gaztañaga 242c567d20 Put hub.hpp at the top-level 2026-06-05 23:46:41 +02:00
Ion Gaztañaga fd8cb9b2aa Add "hub" to documentation 2026-06-05 23:46:23 +02:00
Ion Gaztañaga 65f61afdd3 Enable agagin commented code in benchmark 2026-06-05 15:37:02 +02:00
Ion Gaztañaga 745a7d4917 Optimization for emplace and quick_emplace, caching mask to avoid mask reloading in some compilers. Manually inlined quick_emplace. 2026-06-05 15:14:41 +02:00
Ion Gaztañaga 527edcad96 Better code indentation for emplace macros 2026-06-05 12:01:19 +02:00
Ion Gaztañaga c6137cc970 Added LONG_BENCH option and new geomeans per erasure rate in the general summary 2026-06-05 10:55:48 +02:00
Ion Gaztañaga ca30a2dfe9 Fix wrong prefetch command 2026-06-05 10:43:29 +02:00
Ion Gaztañaga 47a98ed1fe Renamed "emplace" as "quick_emplace" and recover strong exception guarantee for "emplace". 2026-06-05 00:37:12 +02:00
Ion Gaztañaga b42d9e061b Make BOOST_CONTAINER_NEST_PREFETCH use BOOST_CONTAINER_PREFETCH 2026-06-05 00:16:26 +02:00
Ion Gaztañaga e04376aa11 Implemented BOOST_CONTAINER_PREFETCH 2026-06-05 00:15:48 +02:00
Ion Gaztañaga 6765a2a489 Removed segmented iterator machinery 2026-06-04 22:38:57 +02:00
Ion Gaztañaga 1319a775a0 Remove unused BOOST_CONTAINER_NEST_UNROLL 2026-06-04 21:55:17 +02:00
Ion Gaztañaga 2c38882e26 Use BOOST_CONTAINER_ASSUME instead of BOOST_CONTAINER_NEST_ASSUME 2026-06-04 21:53:49 +02:00
Ion Gaztañaga cfc142ea53 Merge branch 'develop' of github.com:boostorg/container into develop 2026-06-04 13:24:39 +02:00
Ion Gaztañaga df0065d699 Fixes #338 ("uses_allocator_construction.hpp: missing include .../config_end.hpp") 2026-06-04 13:24:27 +02:00
Ion Gaztañaga e77b02d3f9 Fixes #338 ("uses_allocator_construction.hpp: missing include .../config_end.hpp") 2026-06-04 13:23:14 +02:00
Ion Gaztañaga ff18b26c0f Add elapsed time. 2026-06-04 11:19:14 +02:00
Ion Gaztañaga 67fb183342 Avoid redundant BOOST_CONTAINER_NEST_PREFETCH_BLOCK 2026-06-04 08:49:10 +02:00
Ion Gaztañaga 74069113dc Simplify "emplace" avoiding exception rollback code, as the state is still consistent after the exception (an additional memory block will be available for the next try). 2026-06-04 00:39:15 +02:00
Ion Gaztañaga acbb755592 Refactor try/catch from emplace to a helper function to help MSVC inline the call. 2026-06-03 23:25:04 +02:00
Ion Gaztañaga e18fd8802c Replace std::string filling to avoid gcc warnings 2026-06-03 23:17:54 +02:00
Ion Gaztañaga 0cfa9e0491 Use new placement new overload that can handle null pointer 2026-06-03 22:42:58 +02:00
Ion Gaztañaga 7f7832c6cb Add new placement new overload that can take null arguments 2026-06-03 22:42:18 +02:00
Ion Gaztañaga 73d3b09d2d Add BOOST_CONTAINER_ASSUME to improve performance and avoid unneeded null checks 2026-06-03 19:28:01 +02:00
Ion Gaztañaga f7488a2e4d Added BOOST_CONTAINER_RETURNS_NONNULL and BOOST_CONTAINER_NONNULL to placement new 2026-06-03 19:26:17 +02:00
Ion Gaztañaga 6d7bc6e64d Add BOOST_CONTAINER_RETURNS_NONNULL and BOOST_CONTAINER_NONNULL utilities 2026-06-03 19:24:05 +02:00
Ion Gaztañaga 79d6f9fd9f Use nsec clock 2026-06-03 18:11:20 +02:00
Ion Gaztañaga c8babc341d Update hub to the latest post-review version 2026-06-02 14:58:56 +02:00
Ion Gaztañaga b768b57b86 Implement hub's #21 (made trim_capacity O(#reserved blocks)) 2026-06-02 14:29:14 +02:00
Ion Gaztañaga ab73834d26 Add geomeans per test 2026-06-02 12:47:24 +02:00
Ion Gaztañaga 4163df3451 Prefetch only metadata on iterator::operator++ 2026-06-02 12:32:28 +02:00
Ion Gaztañaga 36dbb7445e Changed implementation to support several element sizes in single benchmark 2026-06-01 14:25:21 +02:00
Ion Gaztañaga 94bb59265d Removed the BlockCachelineAlign option, benchamarks have not shown an y improvementit wasn't useful for performance 2026-06-01 14:24:46 +02:00
Ion Gaztañaga 9c4e4fb408 - Added unroll opion
- Improved iterator::operator++
- Improved for_each_while operation
- Added block_cacheline_align option
2026-05-29 15:39:25 +02:00
Ion Gaztañaga 859810e6e1 Add #error check 2026-05-29 15:37:07 +02:00
Ion Gaztañaga aaee5c0f0d Add erase ratio geomean 2026-05-29 15:34:49 +02:00
Ion Gaztañaga 2db8a3105e Remove bad get_iterator case, new implementation asserts in that case 2026-05-25 22:24:03 +02:00