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

orion-ecs / keen-eye / 20147814960
65%

Build:
DEFAULT BRANCH: main
Ran 11 Dec 2025 09:23PM UTC
Jobs 1
Files 130
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Dec 2025 09:21PM UTC coverage: 94.276% (+0.009%) from 94.267%
20147814960

push

github

tyevco
perf: Replace linear search with binary search in Archetype.Has() methods

Optimizes Archetype.Has<T>() and Has(Type) by using BinarySearch() instead
of Contains(), improving lookup from O(n) to O(log n). The componentTypesList
is already sorted, making binary search a natural fit.

This method is called frequently during query matching, so the performance
improvement will be noticeable with complex queries and larger component sets.

Also adds comprehensive tests for Has() method with single and multiple
components to ensure correctness of the binary search implementation.

Fixes #219

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Tyler Coles <tyevco@users.noreply.github.com>

1272 of 1354 branches covered (93.94%)

Branch coverage included in aggregate %.

13 of 13 new or added lines in 1 file covered. (100.0%)

6881 of 7294 relevant lines covered (94.34%)

1.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 20147814960.1 11 Dec 2025 09:23PM UTC 130
94.28
GitHub Action Run
Source Files on build 20147814960
  • Tree
  • List 130
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #20147814960
  • d1c7aa1b on github
  • Prev Build on main (#20147585469)
  • Next Build on main (#20147907369)
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

© 2026 Coveralls, Inc