Commit Graph

1680 Commits

Author SHA1 Message Date
Ion Gaztañaga 89218bfb41 Enable BOOST_CONTAINER_NEST_PREFETCH_NEXT_ELEMENT 2026-04-20 22:57:05 +02:00
Ion Gaztañaga 1eded9b487 Fix warnings for old GCCs and make it work without exceptions 2026-04-20 13:30:46 +02:00
Ion Gaztañaga c0549eae0d Document the BOOST_CONTAINER_HEADER_ONLY option 2026-04-20 11:44:34 +02:00
Ion Gaztañaga 4c84305677 Enable forceinline again in Clang and MinGW 2026-04-20 00:47:18 +02:00
Ion Gaztañaga 4f72690084 Make non-trivial element with memset in the constructor 2026-04-20 00:46:50 +02:00
Ion Gaztañaga be299e5c47 Update "hub" and "nest" to review version 2026-04-20 00:46:29 +02:00
Ion Gaztañaga b7d984bf04 Add C++14 mismatch overloads 2026-04-20 00:45:54 +02:00
Ion Gaztañaga ad16326d43 Fix segmented_mismatch warnings 2026-04-20 00:29:30 +02:00
Ion Gaztañaga df92a474a9 Make segmented_search and segmented_mismatch work with recursively segmented iterators 2026-04-18 12:33:44 +02:00
Ion Gaztañaga 4c2038394b Implemented recursively segmented iterator support for segmented_is_sorted 2026-04-17 01:08:59 +02:00
Ion Gaztañaga af799513aa Fix misleading indentation 2026-04-17 01:08:48 +02:00
Ion Gaztañaga 373ceb8476 Unify "xxx_default_less" function objects 2026-04-17 00:29:53 +02:00
Ion Gaztañaga dadaabe91f Define segduo constructors again, eliminating them breaks code 2026-04-12 21:10:21 +02:00
Ion Gaztañaga c0b63942f8 Take generator again by reference, as it breaks stateful generators 2026-04-12 21:09:39 +02:00
Ion Gaztañaga 9bb9ac07aa Fix Wsign-conversion warnings 2026-04-12 21:09:11 +02:00
Ion Gaztañaga 6f39505ff6 Move generator instead of taking by reference to improve code generation. 2026-04-12 20:46:37 +02:00
Ion Gaztañaga e1933006e5 Simplify segduo 2026-04-12 20:43:31 +02:00
Ion Gaztañaga d276466754 Simplify now_ns() implementation 2026-04-12 20:30:03 +02:00
Ion Gaztañaga 7ec679d696 Use segudo instead of reference parameters 2026-04-12 20:17:34 +02:00
Ion Gaztañaga a12422b678 Refactor benchmark to avoid repeated code 2026-04-12 20:04:58 +02:00
Ion Gaztañaga 34d265190c Return simple pair struct instead of using references 2026-04-12 20:04:44 +02:00
Ion Gaztañaga 12bcea58ea Define BOOST_CONTAINER_DISABLE_MULTI_SEGMENTED_ALGO to be able to test multi-segmentation 2026-04-11 23:14:20 +02:00
Ion Gaztañaga 67e5dbfafa Simplify loop unrolling final switch with BOOST_FALLTHROUGH 2026-04-11 23:03:45 +02:00
Ion Gaztañaga f0b9c5cf92 Add explicit bench for newly refactored dual segmented algorithms. 2026-04-11 22:52:37 +02:00
Ion Gaztañaga 562af5a13a Implement segmented_equal without relying in mismatch, as the implementation is slower in some compilers. 2026-04-11 22:52:17 +02:00
Ion Gaztañaga af38102d50 Implement dual segmentation to copy_if, copy_n and mismatch. 2026-04-11 22:51:23 +02:00
Ion Gaztañaga 923d7b360c Remove mask check 2026-04-11 20:09:12 +02:00
Ion Gaztañaga 0cfd5721e3 Add hub implementation as the reference implementation for benchmarks. 2026-04-06 20:07:05 +02:00
Ion Gaztañaga 7afb76786b Added bench for hub vs nest 2026-04-06 20:04:36 +02:00
Ion Gaztañaga 5ba527c3a0 Simplified variables and changed order to see if 2x segmentation helps. 2026-04-06 19:35:57 +02:00
Ion Gaztañaga e5a4028827 Implement BOOST_CONTAINER_DISABLE_SEGMENTED_OUTPUT macro 2026-04-04 13:38:59 +02:00
Ion Gaztañaga 6d26a89aa5 Test segmented output optimization in benchmark 2026-04-04 12:47:01 +02:00
Ion Gaztañaga b3bc6c77b4 Test segmented output optimization in benchamark 2026-04-04 12:46:49 +02:00
Ion Gaztañaga bc93697612 Used boost::container::vector instead of std::vector 2026-04-04 11:10:35 +02:00
Ion Gaztañaga e682580bf2 Use C++03 friendly escape calls 2026-04-04 11:02:53 +02:00
Ion Gaztañaga 7bd65d4dc3 Use boost::container::vector instead of std::vector in test helpers 2026-04-04 11:02:22 +02:00
Ion Gaztañaga aab32bfa54 Add missing move utility core header 2026-04-04 11:01:57 +02:00
Ion Gaztañaga 8cf79b7140 Reimplement segmented_remove_copy_if to support recursively segmented iterators, make the implementation detail move-configurable, and make segmented_remove_if a thin wrapper again based on that. 2026-04-04 10:11:49 +02:00
Ion Gaztañaga a7443d0f92 Test move-only types in the corresponding algorithms 2026-04-04 10:10:40 +02:00
Ion Gaztañaga a4307966bc Implement fully recursive segmented_remove_if 2026-04-04 00:43:56 +02:00
Ion Gaztañaga a14cf02e24 Add less_and_greater_ref to implement a better bench_remove_copy_if bench 2026-04-04 00:43:33 +02:00
Ion Gaztañaga fffd74843a Introduce "unreachable_sentinel_t" to reuse bounded algorithms to implement unbounded ones. 2026-04-04 00:42:52 +02:00
Ion Gaztañaga 8e1506d02a Add missing <vector> include 2026-04-03 19:50:16 +02:00
Ion Gaztañaga b986047bf6 Implement random-access local_iterator and improve performance. 2026-04-03 19:26:56 +02:00
Ion Gaztañaga 20ddb76037 Improve segmented_algo benchmarks, unrolling alll oops 2026-04-03 19:26:22 +02:00
Ion Gaztañaga 053adb2b22 Simplify set_symetric_difference code 2026-04-03 15:31:22 +02:00
Ion Gaztañaga e102644fde Simplify set difference code 2026-04-03 15:30:53 +02:00
Ion Gaztañaga eadc1fe6e9 Implemented directly segmented_none_of for better performance 2026-04-03 15:29:27 +02:00
Ion Gaztañaga a585aaf964 Fix escape argument 2026-04-01 01:24:29 +02:00
Ion Gaztañaga 4783549285 totally rewrite benchmark code to include:
- optimized escape/clobber
- repeating bench several times and calculating the median
2026-04-01 01:17:27 +02:00