Skip to content

collate: replace bitmap by array#19995

Merged
AskAlexSharov merged 12 commits intorelease/3.4from
alex/collate_array_34
Mar 19, 2026
Merged

collate: replace bitmap by array#19995
AskAlexSharov merged 12 commits intorelease/3.4from
alex/collate_array_34

Conversation

@AskAlexSharov
Copy link
Copy Markdown
Collaborator

@AskAlexSharov AskAlexSharov commented Mar 19, 2026

replace bitmap by u32 array. Because even with bitmap32 use - still have much allocs in collate. And in worst case (all txnums of step N added to this array) - it's 1.5mb array.
based on #19992

problem:
Screenshot 2026-03-19 at 11 54 15
Screenshot 2026-03-19 at 11 56 11

@AskAlexSharov AskAlexSharov merged commit 5e0b5f6 into release/3.4 Mar 19, 2026
34 of 44 checks passed
@AskAlexSharov AskAlexSharov deleted the alex/collate_array_34 branch March 19, 2026 07:58
AskAlexSharov added a commit that referenced this pull request Apr 12, 2026
replace bitmap by `u32` array. Because even with `bitmap32` use - still
have much allocs in collate. And in worst case (all txnums of step N
added to this array) - it's 1.5mb array.
based on #19992

problem:
<img width="1049" height="1174" alt="Screenshot 2026-03-19 at 11 54 15"
src="https://github.com/user-attachments/assets/a0de9d6a-f9fc-46e8-8135-fb16b1d747e2"
/>
<img width="970" height="945" alt="Screenshot 2026-03-19 at 11 56 11"
src="https://github.com/user-attachments/assets/5f88bf77-c84b-4c30-b6ec-a5b66cc248f5"
/>
github-merge-queue Bot pushed a commit that referenced this pull request Apr 13, 2026
Cherry-pick from `release/3.4` to `main`:

- #19677 agg: workers presets. ressplit workers
- #19919 Revert "flush: use etl.IdentityLoadFunc instead custom. part2"
- #19780 etl: zero-copy memDataProvider
- #19941 d_lru: disable for commitment
- #19942 TemporalMemBatch: re-use vals-slice when can
- #19996 etl: pool of bufwriter
- #19995 collate: replace bitmap by array
- #20002 skill creator review results
- #20033 seg: revert global limiter
- #20046 Caplin: prevent calling `glob` per file in
`BuildMissingIndices`
- #20113 seg: more usage of bufio
- #20194 execution/state: revert CodeSizePath in codeChange journal
entry
- #20431 remove `flush complete` log line
- #20440 etl: munmap temp files in Dispose to prevent disk space leak

93 commits skipped due to conflicts (branches diverged significantly).

---------

Co-authored-by: lystopad <oleksandr.lystopad@erigon.tech>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: moskud <sudeepdino008@gmail.com>
Co-authored-by: info@weblogix.biz <admin@10gbps.weblogix.it>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants