• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mlange-42 / arche / 7538964871

16 Jan 2024 08:34AM CUT coverage: 100.0%. Remained the same
7538964871

push

github

web-flow
Improve `EntityEvent` fields (#333)

* Pass events by value/copy instead of by pointer. It torned out heap escape is much more expensive than copying.
* Removes event fields that are accessible from the world.
* Adds event fields to better identify relation changes.
* Reduces the size of `EntityEvent` by 30%.

# Commits

* simplify EntityEvent, add relation fileds
* remove event fields that are accessible from the world
* add event fields to better identify relation changes
* add tests for events on batch operations
* tweak EntityEvent docstrings
* fix entity creation events
* tests and fixes for batch creation events
* improve invalid relation error messages
* add docs on behavior when an exchange changes relation components
* add more tests for batch operations
* add more benchmarks for entity events
* make listener event argument pass by value instead of pointer

4989 of 4989 relevant lines covered (100.0%)

64059.5 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/ecs/bitset.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc