kuro
e2c56f5420
Implement world:targets() as a valid method ( #311 )
...
* Implement world:targets
* Proper indexing in ECS_PAIR_SECOND
* Unit tests
* pull idr.records index out of iterator
* move tests below world:target
* style
* better test names
* change nth to use idr.records and pull out variables from iter
* local NOOP fn
* pull NOOP out of fn
* redeclare component_index as ct_idx
* black magic (inlined most of the function calls in iterator - yes it still passes tests)
* remove redundant fn call (shoutout to nnullcolumn for spotting this)
* add test for rapid add/remove calls
* run secondary mixing step for all entities and not just the alive ones
* redundant check
* be a bit more explicit for checking if an entity is alive
2026-04-21 13:15:13 +02:00
Ukendio
19823453aa
Explicit error message for double disconnect
analysis / Run Luau Analyze (push) Has been cancelled
build-studio-docs / Build Studio Docs (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
2026-03-10 03:14:31 +01:00
Ukendio
7170dbf6a1
Throw error at structural changes within on_remove hooks
2026-03-10 03:11:43 +01:00
Ukendio
4d76e28425
emplace the iD
2026-03-05 22:26:41 +01:00
Ukendio
6552a5d2d1
Remove the exact terms lookup set and detect bulk operation for removal of pairs
2026-02-19 23:16:18 +01:00
Ukendio
4236bd02fd
Prune on cascaded deletion
2026-02-19 22:14:49 +01:00
Ukendio
30597ed389
Add query:fini and query:archetypes(override) and changes to OB
2026-02-16 01:58:29 +01:00
Ukendio
7f3946736b
Fix desired id being overriden
2026-01-02 06:32:59 +01:00
alicesaidhi
0d3f1bd3aa
introduce tests for specific cases ( #291 )
2026-01-02 04:11:02 +01:00
Ukendio
e4b12f4a28
check cascaded deletion for structural changes within onremove hooks
2025-12-28 12:21:45 +01:00
Ukendio
5208aa7749
Fix tmp references
2025-12-28 11:41:45 +01:00
Ukendio
ef4d880b0a
Add DEBUG mode with special assertions
2025-12-28 11:08:51 +01:00
Ukendio
aa63051db3
Optimize idr_r removal by 35%
2025-12-21 19:33:13 +01:00
Ukendio
3ebb2334da
Should be able to delete every archetype that is iterated
2025-12-21 19:08:55 +01:00
Ukendio
f543c06462
Fix invalidated archetype before invoking onremove hooks
2025-12-21 17:04:48 +01:00
Ukendio
81792fe314
Revert to example
2025-12-19 07:13:29 +01:00
Ukendio
4db44476a9
Only delete archetypes when completely invalidated
2025-12-19 07:10:12 +01:00
Ukendio
18b72149c7
Move benches under test
2025-11-30 09:05:29 +01:00
Ukendio
d86dff4bfe
Cleanup repository
2025-11-30 08:13:31 +01:00
Ukendio
73fd3dd858
Add more tests and fix edge cases with pairs
2025-11-22 23:51:17 +01:00
Ukendio
7bc6935965
Track bulk operation pattern
2025-11-22 17:32:59 +01:00
Ukendio
4db046b925
escape for deletion
2025-11-22 16:26:13 +01:00
Ukendio
a255d25ada
New solver and Query:has
2025-11-18 21:02:39 +01:00
Ukendio
698854d11b
Observers should handle non queried pairs in :with
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-09-29 23:05:50 +02:00
Ukendio
7e1f43aff5
Fix without terms for ob::observer and also add bunch of tests
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-09-20 02:35:47 +02:00
Ukendio
8ed8c2a0e0
Add granular testing
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-09-16 11:14:13 +02:00
Ukendio
23bf021f01
Handle wildcard pairs in observers
2025-09-16 10:36:02 +02:00
Ukendio
e16e4a04e4
Enlist starting archetypes
2025-09-15 23:15:12 +02:00
Ukendio
456713c2d5
Change Observers to support cleanups and :with/without
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
2025-09-15 16:42:48 +02:00
Ukendio
3dacb2af80
Remove focus
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
2025-09-14 19:59:38 +02:00
Axen
d8b2d36c52
Fix bulk_insert not ensuring that archetype ids are sorted ( #277 )
...
* Fix bulk_insert not ensuring archetype ids are sorted
* Add test case
2025-09-09 13:11:55 +02:00
Ukendio
b0e73857b9
Cleanup tests
2025-08-30 14:43:34 +02:00
Ukendio
917c951d55
Remove eagerly
2025-08-30 13:47:08 +02:00
Ukendio
037035a9a1
Revert :clear to previous behaviour
2025-08-29 17:01:36 +02:00
Ukendio
29a66d92c2
Add component trait lazily
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-08-26 23:15:48 +02:00
dai
0874e426af
Fix bulk_insert with moving archetypes ( #272 )
...
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
* Fix bulk_insert with moving archetypes
* Reword message
2025-08-21 21:32:11 +02:00
Ukendio
96446f4a31
Fix 9+ term queries and cascaded deletion bug with different archetype
2025-08-20 01:15:30 +02:00
Ukendio
1d650d12e9
Fix backwards edge traversal for exclusive relationships
2025-08-10 16:52:08 +02:00
Ukendio
8f95309871
Improve relationship performance
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-08-07 18:53:50 +02:00
Ukendio
add9ad3939
Support setting signal on cached Relation
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
2025-08-02 06:20:53 +02:00
Ukendio
4153a7cdfe
Monitors and observers need to able to accept pair terms
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-07-29 21:08:23 +02:00
Marcus
b521fe750a
Bump versions ( #259 )
2025-07-27 14:39:43 +02:00
Ukendio
666a3ef6de
Fix inner types
2025-07-24 02:04:36 +02:00
Ukendio
69911093a3
No need to check for 0 anymore
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
2025-07-23 00:38:16 +02:00
Ukendio
3e995c9d7d
Fix iterator not returning correct column for 8+ overloads
2025-07-19 14:29:36 +02:00
Ukendio
117a5e0ca7
Fix on_remove hook not called on cached edge
2025-07-18 15:13:59 +02:00
Ukendio
9c09686a69
always check OnDelete condition
2025-07-17 23:45:04 +02:00
Ukendio
fc56b6f716
Retrieve updated max_id
2025-07-17 18:47:05 +02:00
Ukendio
c3853023d0
Allow creating an entity with a non-zero generation below range
2025-07-17 18:24:44 +02:00
Ukendio
7b253e1c2a
Remove archetype recycling
2025-07-17 18:07:11 +02:00