-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
167 changed files
with
24,741 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/build/ | ||
/node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
site: | ||
title: Docs Site | ||
start_page: project-name::index.adoc | ||
content: | ||
sources: | ||
- url: .. | ||
start_path: doc | ||
branches: HEAD | ||
ui: | ||
bundle: | ||
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable | ||
snapshot: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name: project-name | ||
version: ~ | ||
title: Project Name | ||
nav: | ||
- modules/ROOT/nav.adoc |
Binary file added
BIN
+33 KB
...ges/benchmarks-concurrent_map/clang-arm64/Parallel workload.xlsx.500k, 0.01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+33.4 KB
...ages/benchmarks-concurrent_map/clang-arm64/Parallel workload.xlsx.500k, 0.5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+32.8 KB
...ges/benchmarks-concurrent_map/clang-arm64/Parallel workload.xlsx.500k, 0.99.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+28.5 KB
...mages/benchmarks-concurrent_map/clang-arm64/Parallel workload.xlsx.5M, 0.01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+28.5 KB
...images/benchmarks-concurrent_map/clang-arm64/Parallel workload.xlsx.5M, 0.5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+31.8 KB
...mages/benchmarks-concurrent_map/clang-arm64/Parallel workload.xlsx.5M, 0.99.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+30.8 KB
...mages/benchmarks-concurrent_map/clang-x64/Parallel workload.xlsx.500k, 0.01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+30.5 KB
...images/benchmarks-concurrent_map/clang-x64/Parallel workload.xlsx.500k, 0.5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+31.2 KB
...mages/benchmarks-concurrent_map/clang-x64/Parallel workload.xlsx.500k, 0.99.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+30 KB
.../images/benchmarks-concurrent_map/clang-x64/Parallel workload.xlsx.5M, 0.01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+30.3 KB
...T/images/benchmarks-concurrent_map/clang-x64/Parallel workload.xlsx.5M, 0.5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+30.3 KB
.../images/benchmarks-concurrent_map/clang-x64/Parallel workload.xlsx.5M, 0.99.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+32.2 KB
...mages/benchmarks-concurrent_map/clang-x86/Parallel workload.xlsx.500k, 0.01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+33.2 KB
...images/benchmarks-concurrent_map/clang-x86/Parallel workload.xlsx.500k, 0.5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34.5 KB
...mages/benchmarks-concurrent_map/clang-x86/Parallel workload.xlsx.500k, 0.99.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+32.5 KB
.../images/benchmarks-concurrent_map/clang-x86/Parallel workload.xlsx.5M, 0.01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+33.8 KB
...T/images/benchmarks-concurrent_map/clang-x86/Parallel workload.xlsx.5M, 0.5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+31.9 KB
.../images/benchmarks-concurrent_map/clang-x86/Parallel workload.xlsx.5M, 0.99.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+30.9 KB
.../images/benchmarks-concurrent_map/gcc-x64/Parallel workload.xlsx.500k, 0.01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+30.7 KB
...T/images/benchmarks-concurrent_map/gcc-x64/Parallel workload.xlsx.500k, 0.5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+30.3 KB
.../images/benchmarks-concurrent_map/gcc-x64/Parallel workload.xlsx.500k, 0.99.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+30.1 KB
...OT/images/benchmarks-concurrent_map/gcc-x64/Parallel workload.xlsx.5M, 0.01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+31.1 KB
...OOT/images/benchmarks-concurrent_map/gcc-x64/Parallel workload.xlsx.5M, 0.5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+31.7 KB
...OT/images/benchmarks-concurrent_map/gcc-x64/Parallel workload.xlsx.5M, 0.99.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34.9 KB
.../images/benchmarks-concurrent_map/gcc-x86/Parallel workload.xlsx.500k, 0.01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34.4 KB
...T/images/benchmarks-concurrent_map/gcc-x86/Parallel workload.xlsx.500k, 0.5.png
Oops, something went wrong.
Binary file added
BIN
+33.6 KB
.../images/benchmarks-concurrent_map/gcc-x86/Parallel workload.xlsx.500k, 0.99.png
Oops, something went wrong.
Binary file added
BIN
+32 KB
...OT/images/benchmarks-concurrent_map/gcc-x86/Parallel workload.xlsx.5M, 0.01.png
Oops, something went wrong.
Binary file added
BIN
+33.1 KB
...OOT/images/benchmarks-concurrent_map/gcc-x86/Parallel workload.xlsx.5M, 0.5.png
Oops, something went wrong.
Binary file added
BIN
+32.9 KB
...OT/images/benchmarks-concurrent_map/gcc-x86/Parallel workload.xlsx.5M, 0.99.png
Oops, something went wrong.
Binary file added
BIN
+32.8 KB
...T/images/benchmarks-concurrent_map/vs-x64/Parallel workload.xlsx.500k, 0.01.png
Oops, something went wrong.
Binary file added
BIN
+32.4 KB
...OT/images/benchmarks-concurrent_map/vs-x64/Parallel workload.xlsx.500k, 0.5.png
Oops, something went wrong.
Binary file added
BIN
+30.6 KB
...T/images/benchmarks-concurrent_map/vs-x64/Parallel workload.xlsx.500k, 0.99.png
Oops, something went wrong.
Binary file added
BIN
+30.6 KB
...OOT/images/benchmarks-concurrent_map/vs-x64/Parallel workload.xlsx.5M, 0.01.png
Oops, something went wrong.
Binary file added
BIN
+30 KB
...ROOT/images/benchmarks-concurrent_map/vs-x64/Parallel workload.xlsx.5M, 0.5.png
Oops, something went wrong.
Binary file added
BIN
+30.2 KB
...OOT/images/benchmarks-concurrent_map/vs-x64/Parallel workload.xlsx.5M, 0.99.png
Oops, something went wrong.
Binary file added
BIN
+32.3 KB
...T/images/benchmarks-concurrent_map/vs-x86/Parallel workload.xlsx.500k, 0.01.png
Oops, something went wrong.
Binary file added
BIN
+32.8 KB
...OT/images/benchmarks-concurrent_map/vs-x86/Parallel workload.xlsx.500k, 0.5.png
Oops, something went wrong.
Binary file added
BIN
+31 KB
...T/images/benchmarks-concurrent_map/vs-x86/Parallel workload.xlsx.500k, 0.99.png
Oops, something went wrong.
Binary file added
BIN
+30.8 KB
...OOT/images/benchmarks-concurrent_map/vs-x86/Parallel workload.xlsx.5M, 0.01.png
Oops, something went wrong.
Binary file added
BIN
+30.7 KB
...ROOT/images/benchmarks-concurrent_map/vs-x86/Parallel workload.xlsx.5M, 0.5.png
Oops, something went wrong.
Binary file added
BIN
+29.8 KB
...OOT/images/benchmarks-concurrent_map/vs-x86/Parallel workload.xlsx.5M, 0.99.png
Oops, something went wrong.
Binary file added
BIN
+47.1 KB
...dules/ROOT/images/benchmarks-flat_map/clang-arm64/Running erasure.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+45 KB
...les/ROOT/images/benchmarks-flat_map/clang-arm64/Running insertion.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+45.2 KB
...mages/benchmarks-flat_map/clang-arm64/Scattered successful looukp.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+62.3 KB
...ges/benchmarks-flat_map/clang-arm64/Scattered unsuccessful looukp.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+56 KB
...modules/ROOT/images/benchmarks-flat_map/clang-x64/Running erasure.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+46.8 KB
...dules/ROOT/images/benchmarks-flat_map/clang-x64/Running insertion.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+46.7 KB
.../images/benchmarks-flat_map/clang-x64/Scattered successful looukp.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+55.9 KB
...mages/benchmarks-flat_map/clang-x64/Scattered unsuccessful looukp.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+52.1 KB
...modules/ROOT/images/benchmarks-flat_map/clang-x86/Running erasure.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+52.3 KB
...dules/ROOT/images/benchmarks-flat_map/clang-x86/Running insertion.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+44.4 KB
.../images/benchmarks-flat_map/clang-x86/Scattered successful looukp.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+51.9 KB
...mages/benchmarks-flat_map/clang-x86/Scattered unsuccessful looukp.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+56.1 KB
doc/modules/ROOT/images/benchmarks-flat_map/gcc-x64/Running erasure.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+47.7 KB
...modules/ROOT/images/benchmarks-flat_map/gcc-x64/Running insertion.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+45.4 KB
...OT/images/benchmarks-flat_map/gcc-x64/Scattered successful looukp.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+57.3 KB
.../images/benchmarks-flat_map/gcc-x64/Scattered unsuccessful looukp.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+51.7 KB
doc/modules/ROOT/images/benchmarks-flat_map/gcc-x86/Running erasure.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+54.5 KB
...modules/ROOT/images/benchmarks-flat_map/gcc-x86/Running insertion.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+45.7 KB
...OT/images/benchmarks-flat_map/gcc-x86/Scattered successful looukp.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+55.9 KB
.../images/benchmarks-flat_map/gcc-x86/Scattered unsuccessful looukp.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+42.3 KB
doc/modules/ROOT/images/benchmarks-flat_map/vs-x64/Running erasure.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+47.4 KB
doc/modules/ROOT/images/benchmarks-flat_map/vs-x64/Running insertion.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+45.6 KB
...OOT/images/benchmarks-flat_map/vs-x64/Scattered successful looukp.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+59 KB
...T/images/benchmarks-flat_map/vs-x64/Scattered unsuccessful looukp.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+46.4 KB
doc/modules/ROOT/images/benchmarks-flat_map/vs-x86/Running erasure.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+47.5 KB
doc/modules/ROOT/images/benchmarks-flat_map/vs-x86/Running insertion.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+43.3 KB
...OOT/images/benchmarks-flat_map/vs-x86/Scattered successful looukp.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+51.7 KB
...T/images/benchmarks-flat_map/vs-x86/Scattered unsuccessful looukp.xlsx.plot.png
Oops, something went wrong.
Binary file added
BIN
+32.4 KB
...es/benchmarks-set/clang_libcpp/running insertion.xlsx.practice non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+32.2 KB
...ages/benchmarks-set/clang_libcpp/running insertion.xlsx.practice non-unique.png
Oops, something went wrong.
Binary file added
BIN
+33.3 KB
...arks-set/clang_libcpp/running insertion.xlsx.practice norehash non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+30.6 KB
...hmarks-set/clang_libcpp/running insertion.xlsx.practice norehash non-unique.png
Oops, something went wrong.
Binary file added
BIN
+32.6 KB
...images/benchmarks-set/clang_libcpp/running insertion.xlsx.practice norehash.png
Oops, something went wrong.
Binary file added
BIN
+34.8 KB
...les/ROOT/images/benchmarks-set/clang_libcpp/running insertion.xlsx.practice.png
Oops, something went wrong.
Binary file added
BIN
+32.7 KB
...hmarks-set/clang_libcpp/scattered erasure by key.xlsx.practice non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+31.9 KB
...nchmarks-set/clang_libcpp/scattered erasure by key.xlsx.practice non-unique.png
Oops, something went wrong.
Binary file added
BIN
+33.5 KB
...es/benchmarks-set/clang_libcpp/scattered erasure.xlsx.practice non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+31.6 KB
...ages/benchmarks-set/clang_libcpp/scattered erasure.xlsx.practice non-unique.png
Oops, something went wrong.
Binary file added
BIN
+32.7 KB
...les/ROOT/images/benchmarks-set/clang_libcpp/scattered erasure.xlsx.practice.png
Oops, something went wrong.
Binary file added
BIN
+41 KB
...rks-set/clang_libcpp/scattered successful looukp.xlsx.practice non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+35.6 KB
...marks-set/clang_libcpp/scattered successful looukp.xlsx.practice non-unique.png
Oops, something went wrong.
Binary file added
BIN
+34.8 KB
...mages/benchmarks-set/clang_libcpp/scattered successful looukp.xlsx.practice.png
Oops, something went wrong.
Binary file added
BIN
+40.2 KB
...s-set/clang_libcpp/scattered unsuccessful looukp.xlsx.practice non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+36.1 KB
...rks-set/clang_libcpp/scattered unsuccessful looukp.xlsx.practice non-unique.png
Oops, something went wrong.
Binary file added
BIN
+35.4 KB
...ges/benchmarks-set/clang_libcpp/scattered unsuccessful looukp.xlsx.practice.png
Oops, something went wrong.
Binary file added
BIN
+34.7 KB
...ROOT/images/benchmarks-set/gcc/running insertion.xlsx.practice non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+33.3 KB
...s/ROOT/images/benchmarks-set/gcc/running insertion.xlsx.practice non-unique.png
Oops, something went wrong.
Binary file added
BIN
+35.2 KB
...es/benchmarks-set/gcc/running insertion.xlsx.practice norehash non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+32.6 KB
...ages/benchmarks-set/gcc/running insertion.xlsx.practice norehash non-unique.png
Oops, something went wrong.
Binary file added
BIN
+33.1 KB
...les/ROOT/images/benchmarks-set/gcc/running insertion.xlsx.practice norehash.png
Oops, something went wrong.
Binary file added
BIN
+32.9 KB
doc/modules/ROOT/images/benchmarks-set/gcc/running insertion.xlsx.practice.png
Oops, something went wrong.
Binary file added
BIN
+34.1 KB
...ages/benchmarks-set/gcc/scattered erasure by key.xlsx.practice non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+32.5 KB
...images/benchmarks-set/gcc/scattered erasure by key.xlsx.practice non-unique.png
Oops, something went wrong.
Binary file added
BIN
+33.7 KB
...ROOT/images/benchmarks-set/gcc/scattered erasure.xlsx.practice non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+35 KB
...s/ROOT/images/benchmarks-set/gcc/scattered erasure.xlsx.practice non-unique.png
Oops, something went wrong.
Binary file added
BIN
+32.3 KB
doc/modules/ROOT/images/benchmarks-set/gcc/scattered erasure.xlsx.practice.png
Oops, something went wrong.
Binary file added
BIN
+40.3 KB
...s/benchmarks-set/gcc/scattered successful looukp.xlsx.practice non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+35.7 KB
...ges/benchmarks-set/gcc/scattered successful looukp.xlsx.practice non-unique.png
Oops, something went wrong.
Binary file added
BIN
+33.8 KB
...es/ROOT/images/benchmarks-set/gcc/scattered successful looukp.xlsx.practice.png
Oops, something went wrong.
Binary file added
BIN
+39.5 KB
...benchmarks-set/gcc/scattered unsuccessful looukp.xlsx.practice non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+35.9 KB
...s/benchmarks-set/gcc/scattered unsuccessful looukp.xlsx.practice non-unique.png
Oops, something went wrong.
Binary file added
BIN
+38.2 KB
.../ROOT/images/benchmarks-set/gcc/scattered unsuccessful looukp.xlsx.practice.png
Oops, something went wrong.
Binary file added
BIN
+34.7 KB
.../ROOT/images/benchmarks-set/vs/running insertion.xlsx.practice non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+35.6 KB
...es/ROOT/images/benchmarks-set/vs/running insertion.xlsx.practice non-unique.png
Oops, something went wrong.
Binary file added
BIN
+34.9 KB
...ges/benchmarks-set/vs/running insertion.xlsx.practice norehash non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+33.2 KB
...mages/benchmarks-set/vs/running insertion.xlsx.practice norehash non-unique.png
Oops, something went wrong.
Binary file added
BIN
+35.1 KB
...ules/ROOT/images/benchmarks-set/vs/running insertion.xlsx.practice norehash.png
Oops, something went wrong.
Binary file added
BIN
+36.2 KB
doc/modules/ROOT/images/benchmarks-set/vs/running insertion.xlsx.practice.png
Oops, something went wrong.
Binary file added
BIN
+34.2 KB
...mages/benchmarks-set/vs/scattered erasure by key.xlsx.practice non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+34.1 KB
.../images/benchmarks-set/vs/scattered erasure by key.xlsx.practice non-unique.png
Oops, something went wrong.
Binary file added
BIN
+33.9 KB
.../ROOT/images/benchmarks-set/vs/scattered erasure.xlsx.practice non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+33.7 KB
...es/ROOT/images/benchmarks-set/vs/scattered erasure.xlsx.practice non-unique.png
Oops, something went wrong.
Binary file added
BIN
+33.6 KB
doc/modules/ROOT/images/benchmarks-set/vs/scattered erasure.xlsx.practice.png
Oops, something went wrong.
Binary file added
BIN
+40.2 KB
...es/benchmarks-set/vs/scattered successful looukp.xlsx.practice non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+35.4 KB
...ages/benchmarks-set/vs/scattered successful looukp.xlsx.practice non-unique.png
Oops, something went wrong.
Binary file added
BIN
+35.9 KB
...les/ROOT/images/benchmarks-set/vs/scattered successful looukp.xlsx.practice.png
Oops, something went wrong.
Binary file added
BIN
+42 KB
.../benchmarks-set/vs/scattered unsuccessful looukp.xlsx.practice non-unique 5.png
Oops, something went wrong.
Binary file added
BIN
+38.8 KB
...es/benchmarks-set/vs/scattered unsuccessful looukp.xlsx.practice non-unique.png
Oops, something went wrong.
Binary file added
BIN
+36.7 KB
...s/ROOT/images/benchmarks-set/vs/scattered unsuccessful looukp.xlsx.practice.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
* xref:intro.adoc[] | ||
* xref:buckets.adoc[] | ||
* xref:hash_equality.adoc[] | ||
* xref:regular.adoc[] | ||
* xref:concurrent.adoc[] | ||
* xref:hash_quality.adoc[] | ||
* xref:compliance.adoc[] | ||
* xref:structures.adoc[] | ||
* xref:debuggability.adoc[] | ||
* xref:benchmarks.adoc[] | ||
* xref:rationale.adoc[] | ||
* xref:ref.adoc[] | ||
** xref:reference/unordered_flat_map.adoc[unordered_flat_map] | ||
* xref:changes.adoc[] | ||
* xref:bibliography.adoc[] | ||
* xref:copyright.adoc[] |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[#bibliography] | ||
|
||
:idprefix: bibliography_ | ||
|
||
= Bibliography | ||
|
||
* _C/C++ Users Journal_. February, 2006. Pete Becker. http://www.ddj.com/cpp/184402066[STL and TR1: Part III - Unordered containers^]. + | ||
An introduction to the standard unordered containers. | ||
* _Wikipedia_. https://en.wikipedia.org/wiki/Hash_table[Hash table^]. + | ||
An introduction to hash table implementations. Discusses the differences between closed-addressing and open-addressing approaches. | ||
* Peter Dimov, 2022. https://pdimov.github.io/articles/unordered_dev_plan.html[Development Plan for Boost.Unordered^]. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
[#buckets] | ||
:idprefix: buckets_ | ||
|
||
= Basics of Hash Tables | ||
|
||
The containers are made up of a number of _buckets_, each of which can contain | ||
any number of elements. For example, the following diagram shows a <<unordered_set,`boost::unordered_set`>> with 7 buckets containing 5 elements, `A`, | ||
`B`, `C`, `D` and `E` (this is just for illustration, containers will typically | ||
have more buckets). | ||
|
||
image::buckets.png[] | ||
|
||
In order to decide which bucket to place an element in, the container applies | ||
the hash function, `Hash`, to the element's key (for sets the key is the whole element, but is referred to as the key | ||
so that the same terminology can be used for sets and maps). This returns a | ||
value of type `std::size_t`. `std::size_t` has a much greater range of values | ||
then the number of buckets, so the container applies another transformation to | ||
that value to choose a bucket to place the element in. | ||
|
||
Retrieving the elements for a given key is simple. The same process is applied | ||
to the key to find the correct bucket. Then the key is compared with the | ||
elements in the bucket to find any elements that match (using the equality | ||
predicate `Pred`). If the hash function has worked well the elements will be | ||
evenly distributed amongst the buckets so only a small number of elements will | ||
need to be examined. | ||
|
||
There is <<hash_equality, more information on hash functions and | ||
equality predicates in the next section>>. | ||
|
||
You can see in the diagram that `A` & `D` have been placed in the same bucket. | ||
When looking for elements in this bucket up to 2 comparisons are made, making | ||
the search slower. This is known as a *collision*. To keep things fast we try to | ||
keep collisions to a minimum. | ||
|
||
If instead of `boost::unordered_set` we had used <<unordered_flat_set,`boost::unordered_flat_set`>>, the | ||
diagram would look as follows: | ||
|
||
image::buckets-oa.png[] | ||
|
||
In open-addressing containers, buckets can hold at most one element; if a collision happens | ||
(like is the case of `D` in the example), the element uses some other available bucket in | ||
the vicinity of the original position. Given this simpler scenario, Boost.Unordered | ||
open-addressing containers offer a very limited API for accessing buckets. | ||
|
||
[caption=, title='Table {counter:table-counter}. Methods for Accessing Buckets'] | ||
[cols="1,.^1", frame=all, grid=rows] | ||
|=== | ||
2+^h| *All containers* | ||
h|*Method* h|*Description* | ||
|
||
|`size_type bucket_count() const` | ||
|The number of buckets. | ||
|
||
2+^h| *Closed-addressing containers only* | ||
h|*Method* h|*Description* | ||
|
||
|`size_type max_bucket_count() const` | ||
|An upper bound on the number of buckets. | ||
|`size_type bucket_size(size_type n) const` | ||
|The number of elements in bucket `n`. | ||
|
||
|`size_type bucket(key_type const& k) const` | ||
|Returns the index of the bucket which would contain `k`. | ||
|
||
|`local_iterator begin(size_type n)` | ||
1.6+|Return begin and end iterators for bucket `n`. | ||
|
||
|`local_iterator end(size_type n)` | ||
|
||
|`const_local_iterator begin(size_type n) const` | ||
|
||
|`const_local_iterator end(size_type n) const` | ||
|
||
|`const_local_iterator cbegin(size_type n) const` | ||
|
||
|`const_local_iterator cend(size_type n) const` | ||
|
||
|=== | ||
|
||
== Controlling the Number of Buckets | ||
|
||
As more elements are added to an unordered associative container, the number | ||
of collisions will increase causing performance to degrade. | ||
To combat this the containers increase the bucket count as elements are inserted. | ||
You can also tell the container to change the bucket count (if required) by | ||
calling `rehash`. | ||
|
||
The standard leaves a lot of freedom to the implementer to decide how the | ||
number of buckets is chosen, but it does make some requirements based on the | ||
container's _load factor_, the number of elements divided by the number of buckets. | ||
Containers also have a _maximum load factor_ which they should try to keep the | ||
load factor below. | ||
|
||
You can't control the bucket count directly but there are two ways to | ||
influence it: | ||
|
||
* Specify the minimum number of buckets when constructing a container or when calling `rehash`. | ||
* Suggest a maximum load factor by calling `max_load_factor`. | ||
|
||
`max_load_factor` doesn't let you set the maximum load factor yourself, it just | ||
lets you give a _hint_. And even then, the standard doesn't actually | ||
require the container to pay much attention to this value. The only time the | ||
load factor is _required_ to be less than the maximum is following a call to | ||
`rehash`. But most implementations will try to keep the number of elements | ||
below the max load factor, and set the maximum load factor to be the same as | ||
or close to the hint - unless your hint is unreasonably small or large. | ||
|
||
[caption=, title='Table {counter:table-counter}. Methods for Controlling Bucket Size'] | ||
[cols="1,.^1", frame=all, grid=rows] | ||
|=== | ||
2+^h| *All containers* | ||
h|*Method* h|*Description* | ||
|
||
|`X(size_type n)` | ||
|Construct an empty container with at least `n` buckets (`X` is the container type). | ||
|
||
|`X(InputIterator i, InputIterator j, size_type n)` | ||
|Construct an empty container with at least `n` buckets and insert elements from the range `[i, j)` (`X` is the container type). | ||
|
||
|`float load_factor() const` | ||
|The average number of elements per bucket. | ||
|
||
|`float max_load_factor() const` | ||
|Returns the current maximum load factor. | ||
|
||
|`float max_load_factor(float z)` | ||
|Changes the container's maximum load factor, using `z` as a hint. + | ||
**Open-addressing and concurrent containers:** this function does nothing: users are not allowed to change the maximum load factor. | ||
|
||
|`void rehash(size_type n)` | ||
|Changes the number of buckets so that there at least `n` buckets, and so that the load factor is less than the maximum load factor. | ||
|
||
2+^h| *Open-addressing and concurrent containers only* | ||
h|*Method* h|*Description* | ||
|
||
|`size_type max_load() const` | ||
|Returns the maximum number of allowed elements in the container before rehash. | ||
|
||
|=== | ||
|
||
A note on `max_load` for open-addressing and concurrent containers: the maximum load will be | ||
(`max_load_factor() * bucket_count()`) right after `rehash` or on container creation, but may | ||
slightly decrease when erasing elements in high-load situations. For instance, if we | ||
have a <<unordered_flat_map,`boost::unordered_flat_map`>> with `size()` almost | ||
at `max_load()` level and then erase 1,000 elements, `max_load()` may decrease by around a | ||
few dozen elements. This is done internally by Boost.Unordered in order | ||
to keep its performance stable, and must be taken into account when planning for rehash-free insertions. |
Oops, something went wrong.