Commit graph

43 commits

Author SHA1 Message Date
Ukendio
b7a5785dbb Cleanup repository 2024-11-23 04:42:54 +01:00
Christopher Buss
0eb288e057
style: fix inconsistent project formatting (#144)
Closes #138
2024-10-12 22:18:11 +02:00
Ukendio
73147f3fef Update Matter's time 2024-09-26 15:40:50 +02:00
Ukendio
ca00d4c0c1 use components not entities 2024-09-17 22:15:53 +02:00
Marcus
bd187e69ad
Call entity_move before invoke_hook (#124) 2024-09-17 16:39:28 +02:00
alicesaidhi
3276566ea5
Improve benchmark code (#84)
* Create general.luau

* add query

* update query

* world:target bench

* change requires

* add relationship benchmark
2024-09-17 02:40:31 +02:00
Marcus
f8b2c8c2b3
Name the builtin components (#117)
* Add nth parameter to world:target

* Put archetype record creation into function

* Fix docs and comments

* Make EcsWildcard a component

* Name the builtin components
2024-09-11 02:53:15 +02:00
Ukendio
d4fbc409bf Add visual benchmark for delete 2024-08-13 21:06:49 +02:00
Ukendio
023e7ace5b Save column indexing 2024-07-30 19:36:53 +02:00
Ukendio
e9d2154988 Query Rework 2024-07-30 17:17:18 +02:00
Ukendio
18ead3ed19 Make it static 2024-07-28 12:33:38 +02:00
Marcus
49305f73dd
Add archetypes method (#89)
* Add method

* Remove unnecessary shadowed variable
2024-07-28 02:39:19 +02:00
Marcus
d46df8c0a0
Initial commit (#86) 2024-07-26 16:21:13 +02:00
Ukendio
459e670ce9 Change casing 2024-07-15 20:29:06 +02:00
Marcus
8a7b3de004
Revert mirror (#79) 2024-07-14 06:35:13 +02:00
Marcus
0fe23e151c
Add replace method to query (#46)
* Add replace function

* Add next method

* Remove tostring

* Fix EmptyQuery

* add replace method

* merge conflicts

* return self in without

* Make aliases relative

* Add test

* add to changelog
2024-07-07 04:53:17 +02:00
Ukendio
b73d7e12b7 Give aliases to jecs and testkit 2024-07-06 23:37:11 +02:00
Ukendio
60c6177815 Add luaurc 2024-07-06 23:30:14 +02:00
Marcus
c95bc2a582
Update benchmarks (#55)
* Update bench.project.json for luau files

* Stress test insertion
2024-06-24 19:02:27 +02:00
Marcus
d4be467c6c
Rename files to luau (#54)
* Rename files to luau

* Rename remaining files
2024-06-24 03:20:43 +02:00
Ukendio
1d7fe3d93a Separate query 2024-06-24 01:30:59 +02:00
Ukendio
eae51988a9 Update benchmarks image 2024-06-22 01:08:51 +02:00
Marcus
b8f7bed84c
Release (#44)
* Add release

* Release 0.1.0

* Move the benches to bench.project.json
2024-05-19 04:30:20 +02:00
Marcus
d63de48546
Relationships (#31)
* Sparse set for entity records

* Swap dense indexes

* Improve inlining

* Add benchmarks

* Add tests for relations

* Add REST

* Merge upstream changes

* Add back symmetric and non idempotent add function

* Only swap when not last row

* Assert that the entity is alive

* Update example with relations
2024-05-10 17:59:57 +02:00
Ukendio
7cb610b097 Update mirror 2024-05-05 15:06:57 +02:00
Ukendio
7ad1ef37f0 Add exhaustive benchmarks for operations 2024-05-05 03:45:38 +02:00
Marcus
c0854e960e
Move benchmarks (#28)
* Update mirror

* Remove matter from main
2024-05-05 02:48:34 +02:00
howmanysmall
283243350f
Fix style and add some micro optimizations (#27) 2024-05-05 01:52:01 +02:00
Marcus
089c5d46a9
Fix component overriding when in disorder (#15)
* Fix component overriding when in disorder

* Add benchmarks

* Should use same data
2024-05-03 02:39:59 +02:00
Ukendio
14d53e03c1 Index indices after archetype matched 2024-05-01 15:16:39 +02:00
Ukendio
14507ac775 Merge branch 'main' of https://github.com/Ukendio/jecs 2024-05-01 14:43:05 +02:00
Ukendio
d4d2f1fdb9 Add testkit 2024-05-01 14:41:51 +02:00
Marcus
9c5a84e3af
Cache column indices instead of pointers (#13) 2024-05-01 14:41:10 +02:00
Marcus
4978ac7856
Separate ids and add tests (#11) 2024-05-01 01:09:15 +02:00
Marcus
2ace031fa2
Provide better error messages (#7)
* Provide better error messages

* Inline getSmallestMap
2024-04-30 16:36:38 +02:00
Marcus
13c703211d
Add without (#3) 2024-04-28 21:00:00 +02:00
Ukendio
3816777724 Include ECR in benchmark 2024-04-25 16:41:41 +02:00
Ukendio
44e6813cfb Remove mirror from benchmark example 2024-04-25 16:37:01 +02:00
Ukendio
74fe5be0c0 Index into archetypemap 2024-04-25 16:26:30 +02:00
Ukendio
b1626a9be0 Add mirror 2024-04-25 07:26:38 +02:00
Ukendio
915ff50e35 Update benchmark 2024-04-25 05:55:11 +02:00
Ukendio
e90efbc342 Rename operation add to set 2024-04-24 17:32:07 +02:00
Ukendio
6cafbc1221 Rebase 2024-04-23 17:10:49 +02:00