mirror of
https://github.com/Ukendio/jecs.git
synced 2025-08-05 03:39:17 +00:00
Compare commits
3 commits
740647104b
...
c62db9f8c3
Author | SHA1 | Date | |
---|---|---|---|
|
c62db9f8c3 | ||
|
3b0ce599ef | ||
|
077030738a |
2 changed files with 4 additions and 2 deletions
|
@ -12,7 +12,7 @@ Just a stupidly fast Entity Component System
|
||||||
- Zero-dependency package
|
- Zero-dependency package
|
||||||
- Optimized for column-major operations
|
- Optimized for column-major operations
|
||||||
- Cache friendly [archetype/SoA](https://ajmmertens.medium.com/building-an-ecs-2-archetypes-and-vectorization-fe21690805f9) storage
|
- Cache friendly [archetype/SoA](https://ajmmertens.medium.com/building-an-ecs-2-archetypes-and-vectorization-fe21690805f9) storage
|
||||||
- Rigorously [unit tested](https://github.com/Ukendio/jecs/actions/workflows/ci.yaml) for stability
|
- Rigorously [unit tested](https://github.com/Ukendio/jecs/actions/workflows/unit-testing.yaml) for stability
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
|
@ -70,6 +70,8 @@ end
|
||||||
-- sara is the child of alice
|
-- sara is the child of alice
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Benchmarks
|
||||||
|
|
||||||
21,000 entities 125 archetypes 4 random components queried.
|
21,000 entities 125 archetypes 4 random components queried.
|
||||||

|

|
||||||
Can be found under /benches/visual/query.luau
|
Can be found under /benches/visual/query.luau
|
||||||
|
|
|
@ -7,7 +7,7 @@ type Observer = {
|
||||||
|
|
||||||
type Monitor = {
|
type Monitor = {
|
||||||
callback: (jecs.Entity, jecs.Entity) -> (),
|
callback: (jecs.Entity, jecs.Entity) -> (),
|
||||||
queyr: jecs.Query<any>
|
query: jecs.Query<any>
|
||||||
}
|
}
|
||||||
|
|
||||||
export type PatchedWorld = jecs.World & {
|
export type PatchedWorld = jecs.World & {
|
||||||
|
|
Loading…
Reference in a new issue