Skip to content

PicoES v0.4.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@ayebear ayebear released this 17 Apr 00:40
· 126 commits to master since this release
e21721e

Generic Indexing

  • Resolved #30
  • Added support for a generic indexer class to be passed into the World constructor.
  • Wrote a new SimpleIndex, with completely different time complexities than the old indexer, which is now called MemoizedQueryIndex. This should perform better in real world scenarios where many component additions and removals occur. If your application tends to have more repeated queries and less entity modifications, then the MemoizedQueryIndex may perform better.
  • Simplified index interface, and removed the need for keeping track of all entities, by directly linking back to the world instance.
  • Update the docs and readme to include information about the new indexers.