Introduce component and relationship counters to optimize entity destruction and component checks. This allows for short-circuiting the destruction process for bare entities and provides an O(1) check for `hasAnyComponent`. |
||
|---|---|---|
| src | ||
| test | ||
| .gitignore | ||
| USAGE.md | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||