Terrato
esper 3.4-3.6
Performance-focused release with major internal optimizations.
Changes
- Optimized
get_componentsto iterate over the smallest set of entities, drastically speeding up queries with rare components. - Implemented lazy cache invalidation to reduce overhead from frequent entity modifications.
- Sped up
get_processorandremove_processorto be constant time (O(1)) operations. - Minor performance improvements to entity creation and deletion routines.
- Expanded Benchmarks.
- Add a new
try_remove_componentfunction as a convenience instead of (has_component + remove_component). - Start migrating type hints to the modern syntax.
esper.remove_handlershould use a reference instead of direct object comparison. (#107)