mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-30 00:50:38 +08:00
Update memory usage in README
This commit is contained in:
@@ -95,13 +95,16 @@ The full types with template parameters can be found in the [parallel_hashmap/ph
|
||||
|
||||
## Memory usage
|
||||
|
||||
| type | memory usage |
|
||||
|--------|-------------------|
|
||||
| flat tables |  |
|
||||
| node tables |  |
|
||||
| type | memory usage | additional memory usage when resizing |
|
||||
|-----------------------|-------------------|
|
||||
| flat tables |  |  |
|
||||
| node tables |  |  |
|
||||
| parallel flat tables |  |  |
|
||||
| parallel node tables |  |  |
|
||||
|
||||
|
||||
The load factor varies between 0.4375 (just after the resize) and 0.875 (just before the resize).
|
||||
|
||||
In addition, when the table resizes, the peak memory usage is an additional 50% of the new size for the *non-parallel* hashmaps, and an additional 3% of the new size for the *parallel* hashmaps (single threaded usage).
|
||||
In addition, during the resizes, the peak memory usage is an additional 50% of the new size for the *non-parallel* hashmaps, and an additional 3% of the new size for the *parallel* hashmaps (single threaded usage).
|
||||
|
||||
|
||||
|
||||
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 955 B |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 1005 B |
Reference in New Issue
Block a user