diff options
| author | Lisandro Pin <lisandro.pin@proton.ch> | 2025-06-05 23:03:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-05 14:03:29 -0700 |
| commit | bed0a64693cdfd9bbcd11ad6f813fbd35af08587 (patch) | |
| tree | 031e4fdeb894bfdc538f90f3492fa648ff293b12 /k8s | |
| parent | d8ddc22fc24bc22a87a8731689bb0f3776e8c4fc (diff) | |
| download | seaweedfs-bed0a64693cdfd9bbcd11ad6f813fbd35af08587.tar.xz seaweedfs-bed0a64693cdfd9bbcd11ad6f813fbd35af08587.zip | |
New `needle_map.CompactMap()` implementation for reduced memory usage (#6842)
* Rework `needle_map.CompactMap()` to maximize memory efficiency.
* Use a memory-efficient structure for `CompactMap` needle value entries.
This slightly complicates the code, but makes a **massive** difference
in memory efficiency - preliminary results show a ~30% reduction in
heap usage, with no measurable performance impact otherwise.
* Clean up type for `CompactMap` chunk IDs.
* Add a small comment description for `CompactMap()`.
* Add the old version of `CompactMap()` for comparison purposes.
Diffstat (limited to 'k8s')
0 files changed, 0 insertions, 0 deletions
