Skip to content

Comments

perf: add bulk reference counting optimization#554

Closed
Jim8y wants to merge 1 commit intomasterfrom
opt/bulk-reference-counting
Closed

perf: add bulk reference counting optimization#554
Jim8y wants to merge 1 commit intomasterfrom
opt/bulk-reference-counting

Conversation

@Jim8y
Copy link
Contributor

@Jim8y Jim8y commented Jan 27, 2026

Summary

Split from #552 - Bulk reference counting optimization only.

Changes

  • Add AddReferences/RemoveReferences bulk operations to IReferenceCounter
  • Implement bulk reference counting in ReferenceCounter
  • Add benchmarks for reference counting performance

Independent of

  • Slot handling optimizations (separate PR)

Test Plan

  • dotnet test tests/Neo.VM.Tests

- Add AddReferences/RemoveReferences bulk operations to IReferenceCounter
- Implement bulk reference counting in ReferenceCounter
- Add benchmarks for reference counting performance
@erikzhang
Copy link
Member

Where is it used?

@Jim8y
Copy link
Contributor Author

Jim8y commented Jan 28, 2026

with #537 , this will not be necessary.

@Jim8y Jim8y closed this Jan 28, 2026
@shargon shargon deleted the opt/bulk-reference-counting branch January 28, 2026 20:59
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