Commit Graph

4072 Commits

Author SHA1 Message Date
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
Michele Caini
c2ab357802 view: make also VS toolset v141 happy 2022-12-12 15:42:39 +01:00
Michele Caini
4fb558f143 view: further reduce instantiations 2022-12-12 15:08:37 +01:00
Michele Caini
5762a8a086 view: reuse internal functions if possible 2022-12-12 11:49:47 +01:00
Michele Caini
ed4c675211 sparse_set/storage: drop move_element 2022-12-12 09:38:58 +01:00
Michele Caini
f157898462 config: ENTT_FAIL(msg) -> ENTT_ASSERT(false, msg) 2022-12-07 12:22:35 +01:00
Michele Caini
6d20709e07 storage: minor changes 2022-12-07 10:41:33 +01:00
Michele Caini
a9a9853c01 sigh_storage_mixin: use entity_type from Type 2022-12-06 14:34:16 +01:00
Michele Caini
af14aa4c9e doc: more about signals (sigh_storage_mixin) 2022-12-06 12:01:01 +01:00
Michele Caini
24d6b98817 test: minor changes 2022-12-05 15:29:43 +01:00
Michele Caini
899f4baa63 storage:
* drop storage_for]_t]
* make storage_type[_t] deal with constness
2022-12-05 14:47:32 +01:00