Lisandro Pin
ba4b91ba5e
Clean up type for CompactMap chunk IDs.
2025-06-05 15:30:39 +02:00
Lisandro Pin
4eaed7f206
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.
2025-06-03 18:06:41 +02:00
Lisandro Pin
1cc58ffc2c
Rework needle_map.CompactMap() to maximize memory efficiency.
2025-06-03 15:49:29 +02:00
Chris Lu
d40746f34e
fix insert beyond look back window ( #6838 )
2025-06-02 23:43:01 -07:00
Lisandro Pin
9ffc8bcb54
Further improve memory usage of needle_map.CompactMap(). ( #6825 )
2025-05-28 11:42:00 -07:00
Lisandro Pin
2e1506c31e
Rewrite needle_map.CompactMap() for more efficient memory usage ( #6813 )
2025-05-23 07:05:08 -07:00
chrislu
81f11883e3
go fmt
2023-11-26 11:47:20 -08:00
binbinshi and shibinbin
b7de4a967e
fix: compact_map get error mismatching cokie ( #3748 )
...
* fix: compact_map get error
* fix: CompactSection delete lock and move test to compact_map
Co-authored-by: shibinbin <shibinbin@megvii.com >
2022-10-09 16:56:40 -07:00
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2022-07-29 00:17:28 -07:00
chrislu
509a9047db
test compact map with snowflake sequencer
2022-06-23 21:45:51 -07:00
Chris Lu
3b4b1d4a77
fix tests
2020-08-19 01:37:56 -07:00
Chris Lu
6ccd7f0a4d
refactoring
2020-08-18 18:01:37 -07:00
Chris Lu
6a92f0bc7a
refactoring to typed Size
...
Go is amazing with refactoring!
2020-08-18 17:04:28 -07:00
Chris Lu
9ff72f616a
go fmt
2019-12-24 14:56:16 -08:00
Chris Lu
d8b39fe92a
testing
2019-12-24 11:29:26 -08:00
Chris Lu
87f63b9c08
generate ec01~ec14, generate ecx file with sorted needle values
2019-05-18 22:46:24 -07:00
Chris Lu
e5506152c0
refactoring
2019-04-18 21:43:36 -07:00