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

comunica / big-collections / 47117594633
100%

Build:
DEFAULT BRANCH: main
Ran 03 Dec 2026 01:38PM UTC
Jobs 3
Files 6
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

03 Dec 2026 01:37PM UTC coverage: 100.0%. Remained the same
47117594633

push

github

web-flow
Support deletions, iteration, and the other methods of native collections (#9)

* Support deletions, iteration, and the other methods of native collections

A deleted entry may keep its room in a native collection: a native Set or Map
at its maximum size in V8 throws on a next entry until more than half of its
entries are deleted. So each chunk takes as many insertions as its maximum
size, and room is reclaimed by removing empty chunks and merging sparse
neighbors into a new chunk.

Chunks remain in insertion order, and a chunk is not merged while an iteration
is within it, so collections can be changed while iterating as native ones.

* Document the performance of deletions and iteration

* Shorten the documentation of methods, iteration, and deletions

* Share the methods that are not on the hot path between the collections

Iteration moves to ChunkedCollection, and BigMap and BigRecord share ChunkedMap.
The list of chunks changes in one place, which keeps the first chunk and the
capacity of the last chunk in tune, and deletions are accounted for in one hook.
The methods of BigSet that combine sets copy chunk by chunk, and iterate per
chunk instead of through the public iterator.

* Follow the successors of removed chunks without recursion

An iteration that stays paused while thousands of chunks are removed
has a long chain of successors, which overflowed the stack.

* Update the measured times of iterating and deleting

* Return the collection from add and set, as native collections do

* Style

* Create the sets of the BigSet tests before each test

* Disable the forEach lint rule per test file, and check for a new last chunk directly

* State that chunks that replace others are new

* Let the chunk tests start from one layout and check the keys of the chunks

* Remove tests that check what other tests already check

A test is removed or merged into another when another test states the same
behavior and the remaining tests still catch every mutan... (continued)

126 of 126 branches covered (100.0%)

Branch coverage included in aggregate %.

231 of 231 new or added lines in 6 files covered. (100.0%)

288 of 288 relevant lines covered (100.0%)

3142572.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-22.x - 47117594633.1 03 Dec 2026 01:38PM UTC 6
100.0
GitHub Action Run
2 run-26.x - 47117594633.2 03 Dec 2026 01:38PM UTC 6
100.0
GitHub Action Run
3 run-24.x - 47117594633.3 03 Dec 2026 01:37PM UTC 6
100.0
GitHub Action Run
Source Files on build 47117594633
  • Tree
  • List 6
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #47117594633
  • a4dceb9f on github
  • Prev Build on main (#46855320687)
  • Next Build on main (#47119352293)
  • Delete
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