mun
mun copied to clipboard
perf: use a slab allocator for `ObjectInfo`
This should improve performance of the GC by limiting allocations of
ObjectInfo to large chunks.
Originally, I was hoping to use the allocator from the slab crate out
of the box, but that would cause all of the values to move when ever it
needed to resize. I added the pinned_slab module to get around that
limitation.
closes #106
Codecov Report
Merging #129 into master will increase coverage by
0.02%. The diff coverage is91.30%.
@@ Coverage Diff @@
## master #129 +/- ##
==========================================
+ Coverage 83.59% 83.62% +0.02%
==========================================
Files 158 158
Lines 10716 10710 -6
==========================================
- Hits 8958 8956 -2
+ Misses 1758 1754 -4
| Impacted Files | Coverage Δ | |
|---|---|---|
| crates/mun_memory/src/gc/mark_sweep.rs | 90.15% <91.30%> (+2.47%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 75d7a20...1420972. Read the comment docs.
@baszalmstra This is ready for review again :smile:
I moved the Pool code to another repo: https://github.com/foeb/pinned_slab
Hi @foeb. I hope all is well.
@baszalmstra left some requested changes. Do you need additional information on those, or have you not had time to look at them yet?
If there is anything we can do to help out, please let us know
Im closing this since its become very stale.