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

CyclopsMC / CyclopsCore / 34051129941
31%
master-1.21: 31%

Build:
Build:
LAST BUILD BRANCH: master-1.21-lts
DEFAULT BRANCH: master-1.21
Ran 06 Sep 2026 06:18PM UTC
Jobs 1
Files 614
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

06 Sep 2026 06:10PM UTC coverage: 31.101% (+0.08%) from 31.026%
34051129941

Pull #239

github

claude
Hash an ingredient key once per index update

An ingredient map hashes its key on every operation, and for ItemStack that
hash walks a data component map. The update paths all read then write, and each
call builds its own wrapper, so the same key was hashed twice for one logical
update. Storage networks then run each change twice over, once for its own
channel and once for the wildcard channel, so this multiplies.

IIngredientMapMutable gains a compute method with Map.compute semantics. The
default is the old read-then-write, so nothing has to change to stay correct.
The wrapped adapter builds one wrapper and hands it to the backing map's own
compute, and the classified map delegates to the classifier's sub-map while
keeping its size and its empty-classifier cleanup.

IngredientCollectionPrototypeMap add and remove use it. Callers that hold a
cheap-to-hash component type see no difference.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mxjin31W1Lmq5XK1CCe84v
Pull Request #239: Hash an ingredient key once per index update

1307 of 4615 branches covered (28.32%)

Branch coverage included in aggregate %.

3894 of 12108 relevant lines covered (32.16%)

1.56 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
72.5
-27.5% org/cyclops/cyclopscore/ingredient/collection/IIngredientMapMutable.java
1
94.17
0.05% org/cyclops/cyclopscore/ingredient/collection/IngredientCollectionPrototypeMap.java
Jobs
ID Job ID Ran Files Coverage
1 34051129941.1 06 Sep 2026 06:18PM UTC 873
25.23
GitHub Action Run
Source Files on build 34051129941
  • Tree
  • List 614
  • Changed 28
  • Source Changed 0
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34051129941
  • Pull Request #239
  • PR Base - master-26-lts (#33961614624)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc