Commit Graph

4082 Commits

Author SHA1 Message Date
Michele Caini
1e9c9fe5f8 registry: better, faster range-remove + refine range-erase 2023-01-11 10:15:19 +01:00
Michele Caini
80fac8d8e5 test: minor changes 2023-01-11 10:13:47 +01:00
Michele Caini
c774b98389 -: updated TODO 2023-01-11 09:55:57 +01:00
Michele Caini
3fd0403cc9 registry: faster, better range-erase 2023-01-11 09:55:47 +01:00
Michele Caini
6eb3347a3b test: a couple of extra functions to stress the upcoming changes 2023-01-11 09:34:22 +01:00
Michele Caini
89bceaff75 -: updated TODO 2023-01-10 15:51:35 +01:00
Michele Caini
dc25c9c1a2 sparse_set: invoke release_sparse_pages before clearing the sparse array 2023-01-10 15:33:48 +01:00
Michele Caini
e68ba5870c sigh_mixin: add a missing include 2023-01-10 15:01:48 +01:00
Michele Caini
c68cb33751 entity: make deletion_policy publicly available via fwd.hpp 2023-01-10 14:41:13 +01:00
Michele Caini
59f807fd02 sparse_set: suppress warnings due to unused expressions 2023-01-10 14:32:43 +01:00
Michele Caini
232ffebc1e sparse_set: internal clear_all function 2023-01-10 14:22:50 +01:00
Michele Caini
3cea845a0f sparse_set: sparse_set_iterator::data function 2023-01-10 10:53:30 +01:00
Michele Caini
295f3b32e4 registry: a couple of extra move calls here and there 2023-01-10 09:23:28 +01:00
Michele Caini
254da2c3c6 sparse_set: better, faster range remove 2023-01-10 08:43:02 +01:00
Michele Caini
ecd3b8d933 sparse_set: prevent rework errors as much as possible 2023-01-09 18:48:22 +01:00
Michele Caini
c673b9b17c sigh_mixin: slightly improved pop + review insert 2023-01-09 17:45:33 +01:00
Michele Caini
cd28de0d63 test: clear-stable bench 2023-01-09 15:20:19 +01:00
Michele Caini
672f6a7112 test: minor changes 2023-01-09 15:18:06 +01:00
Michele Caini
3b50672b70 storage: restore storage_for/storage_type duality, it turned out to be very useful in practice 2022-12-28 17:56:22 +01:00
Michele Caini
f0613b1c6c sparse_set/storage: minor changes to reuse type members 2022-12-27 12:35:37 +01:00
Michele Caini
2197e160ef -: drop file pushed by mistake :) 2022-12-23 16:58:32 +01:00
Michele Caini
2dccd90166 handle: discard entity on destruction 2022-12-23 16:53:51 +01:00
Michele Caini
2f873f2dd2 -: storage_mixin.hpp -> mixin.hpp (non-storage mixins are also a thing) 2022-12-22 15:12:03 +01:00
Michele Caini
fde1a524ea sparse_set: ::get -> ::value (to avoid hiding from derived classes) 2022-12-22 13:10:57 +01:00
Michele Caini
0558010479 doc: drop references to docsforge + minor changes 2022-12-22 11:40:03 +01:00
Michele Caini
79a054a524 sigh_mixin: scope base_type properly 2022-12-20 15:46:18 +01:00
Michele Caini
d94e443a14 doc: drop outdated section 2022-12-20 15:32:35 +01:00
Michele Caini
3862184e88 sigh_mixin: support self managed storage classes 2022-12-20 15:30:37 +01:00
Michele Caini
f40fa3c2f6 test:
* use range destroy
* avoid compiler optimizations
2022-12-19 16:28:50 +01:00
Michele Caini
01bc93459b test (bench): the new entity storage enables the fast path in all cases 2022-12-19 15:30:30 +01:00
Michele Caini
151bd07391 sparse_set: revert optmized range push, it prevents self-managed storage classes 2022-12-19 08:24:08 +01:00
Michele Caini
935393aae0 sparse_set: better, faster range push 2022-12-16 18:45:51 +01:00
Michele Caini
fbfde43477 snapshot: avoid unused variable warnings 2022-12-16 15:21:56 +01:00
Michele Caini
2ffbe115b7 component_traits: revert entity customization support 2022-12-16 15:14:31 +01:00
Michele Caini
645973eb79 sparse_set: insert -> push 2022-12-15 18:11:19 +01:00
Michele Caini
1332307972 sparse_set: emplace -> push 2022-12-15 14:16:58 +01:00
Michele Caini
b700f5eb5d doc: typo 2022-12-15 12:18:29 +01:00
Michele Caini
e60dbdc521 sparse_set/storage:
* rename swap_at in swap_or_move to capture the real purpose
* define swap_at as a protected function to allow swapping from above
2022-12-15 11:19:44 +01:00
Michele Caini
c66623b330 sigh_mixin: avoid hiding basic_iterator type meber 2022-12-14 12:06:06 +01:00
Michele Caini
62246d8796 storage: avoid hiding basic_iterator type meber 2022-12-14 10:49:32 +01:00
Michele Caini
b35f131309 sparse_set: support swap-only mixins 2022-12-13 17:36:58 +01:00
Michele Caini
3dd82633a3 -: drop storage_mixin.cpp, I forgot to do it a couple of commits ago :) 2022-12-13 15:41:07 +01:00
Michele Caini
00231bf8a7 storage: make swap_at non-final to support checks on derived classes 2022-12-13 15:40:25 +01:00
Michele Caini
58d392e813 -: minor changes 2022-12-13 15:36:49 +01:00
Michele Caini
1d4d99d090 mixin: sigh_storage_mixin -> sigh_mixin 2022-12-13 10:53:07 +01:00
Michele Caini
fe3edf2c83 -: minor changes 2022-12-13 10:50:17 +01:00
Michele Caini
0864ba0429 -: drop useless typename 2022-12-13 10:48:34 +01:00
Michele Caini
3a96980013 build: minor changes 2022-12-12 18:43:44 +01:00
Michele Caini
423f7a555d is_equality_comparable: detect C-style arrays directly 2022-12-12 18:32:07 +01:00
Michele Caini
5db8ad53ac build: update gh workflow 2022-12-12 18:19:51 +01:00