data-structure-typed 2.3.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/CMakeLists.txt +52 -0
- package/README.md +6 -7
- package/README_CN.md +5 -6
- package/benchmark/report.html +219 -12
- package/benchmark/report.json +1969 -38
- package/build/CMakeCache.txt +603 -0
- package/build/CMakeFiles/4.0.3/CMakeCXXCompiler.cmake +104 -0
- package/build/CMakeFiles/4.0.3/CMakeDetermineCompilerABI_CXX.bin +0 -0
- package/build/CMakeFiles/4.0.3/CMakeSystem.cmake +15 -0
- package/build/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp +920 -0
- package/build/CMakeFiles/4.0.3/CompilerIdCXX/a.out +0 -0
- package/build/CMakeFiles/4.0.3/CompilerIdCXX/apple-sdk.cpp +1 -0
- package/build/CMakeFiles/CMakeConfigureLog.yaml +2146 -0
- package/build/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- package/build/CMakeFiles/InstallScripts.json +9 -0
- package/build/CMakeFiles/Makefile.cmake +100 -0
- package/build/CMakeFiles/Makefile2 +720 -0
- package/build/CMakeFiles/TargetDirectories.txt +23 -0
- package/build/CMakeFiles/avl-rb-range-search-benchmark.dir/DependInfo.cmake +23 -0
- package/build/CMakeFiles/avl-rb-range-search-benchmark.dir/build.make +114 -0
- package/build/CMakeFiles/avl-rb-range-search-benchmark.dir/cmake_clean.cmake +11 -0
- package/build/CMakeFiles/avl-rb-range-search-benchmark.dir/compiler_depend.internal +839 -0
- package/build/CMakeFiles/avl-rb-range-search-benchmark.dir/compiler_depend.make +2506 -0
- package/build/CMakeFiles/avl-rb-range-search-benchmark.dir/compiler_depend.ts +2 -0
- package/build/CMakeFiles/avl-rb-range-search-benchmark.dir/depend.make +2 -0
- package/build/CMakeFiles/avl-rb-range-search-benchmark.dir/flags.make +10 -0
- package/build/CMakeFiles/avl-rb-range-search-benchmark.dir/link.txt +1 -0
- package/build/CMakeFiles/avl-rb-range-search-benchmark.dir/progress.make +3 -0
- package/build/CMakeFiles/avl-rb-range-search-benchmark.dir/test/performance/data-structures/binary-tree/avl-rb-range-search.test.cpp.o +0 -0
- package/build/CMakeFiles/avl-rb-range-search-benchmark.dir/test/performance/data-structures/binary-tree/avl-rb-range-search.test.cpp.o.d +835 -0
- package/build/CMakeFiles/avl-tree-benchmark.dir/DependInfo.cmake +23 -0
- package/build/CMakeFiles/avl-tree-benchmark.dir/build.make +114 -0
- package/build/CMakeFiles/avl-tree-benchmark.dir/cmake_clean.cmake +11 -0
- package/build/CMakeFiles/avl-tree-benchmark.dir/compiler_depend.internal +839 -0
- package/build/CMakeFiles/avl-tree-benchmark.dir/compiler_depend.make +2506 -0
- package/build/CMakeFiles/avl-tree-benchmark.dir/compiler_depend.ts +2 -0
- package/build/CMakeFiles/avl-tree-benchmark.dir/depend.make +2 -0
- package/build/CMakeFiles/avl-tree-benchmark.dir/flags.make +10 -0
- package/build/CMakeFiles/avl-tree-benchmark.dir/link.txt +1 -0
- package/build/CMakeFiles/avl-tree-benchmark.dir/progress.make +3 -0
- package/build/CMakeFiles/avl-tree-benchmark.dir/test/performance/data-structures/binary-tree/avl-tree.test.cpp.o +0 -0
- package/build/CMakeFiles/avl-tree-benchmark.dir/test/performance/data-structures/binary-tree/avl-tree.test.cpp.o.d +835 -0
- package/build/CMakeFiles/cmake.check_cache +1 -0
- package/build/CMakeFiles/deque-benchmark.dir/DependInfo.cmake +23 -0
- package/build/CMakeFiles/deque-benchmark.dir/build.make +114 -0
- package/build/CMakeFiles/deque-benchmark.dir/cmake_clean.cmake +11 -0
- package/build/CMakeFiles/deque-benchmark.dir/compiler_depend.internal +791 -0
- package/build/CMakeFiles/deque-benchmark.dir/compiler_depend.make +2362 -0
- package/build/CMakeFiles/deque-benchmark.dir/compiler_depend.ts +2 -0
- package/build/CMakeFiles/deque-benchmark.dir/depend.make +2 -0
- package/build/CMakeFiles/deque-benchmark.dir/flags.make +10 -0
- package/build/CMakeFiles/deque-benchmark.dir/link.txt +1 -0
- package/build/CMakeFiles/deque-benchmark.dir/progress.make +3 -0
- package/build/CMakeFiles/deque-benchmark.dir/test/performance/data-structures/queue/deque.test.cpp.o +0 -0
- package/build/CMakeFiles/deque-benchmark.dir/test/performance/data-structures/queue/deque.test.cpp.o.d +787 -0
- package/build/CMakeFiles/doubly-linked-list-benchmark.dir/DependInfo.cmake +23 -0
- package/build/CMakeFiles/doubly-linked-list-benchmark.dir/build.make +114 -0
- package/build/CMakeFiles/doubly-linked-list-benchmark.dir/cmake_clean.cmake +11 -0
- package/build/CMakeFiles/doubly-linked-list-benchmark.dir/compiler_depend.internal +790 -0
- package/build/CMakeFiles/doubly-linked-list-benchmark.dir/compiler_depend.make +2359 -0
- package/build/CMakeFiles/doubly-linked-list-benchmark.dir/compiler_depend.ts +2 -0
- package/build/CMakeFiles/doubly-linked-list-benchmark.dir/depend.make +2 -0
- package/build/CMakeFiles/doubly-linked-list-benchmark.dir/flags.make +10 -0
- package/build/CMakeFiles/doubly-linked-list-benchmark.dir/link.txt +1 -0
- package/build/CMakeFiles/doubly-linked-list-benchmark.dir/progress.make +3 -0
- package/build/CMakeFiles/doubly-linked-list-benchmark.dir/test/performance/data-structures/linked-list/doubly-linked-list.test.cpp.o +0 -0
- package/build/CMakeFiles/doubly-linked-list-benchmark.dir/test/performance/data-structures/linked-list/doubly-linked-list.test.cpp.o.d +786 -0
- package/build/CMakeFiles/hash-map-benchmark.dir/DependInfo.cmake +23 -0
- package/build/CMakeFiles/hash-map-benchmark.dir/build.make +114 -0
- package/build/CMakeFiles/hash-map-benchmark.dir/cmake_clean.cmake +11 -0
- package/build/CMakeFiles/hash-map-benchmark.dir/compiler_depend.internal +790 -0
- package/build/CMakeFiles/hash-map-benchmark.dir/compiler_depend.make +2359 -0
- package/build/CMakeFiles/hash-map-benchmark.dir/compiler_depend.ts +2 -0
- package/build/CMakeFiles/hash-map-benchmark.dir/depend.make +2 -0
- package/build/CMakeFiles/hash-map-benchmark.dir/flags.make +10 -0
- package/build/CMakeFiles/hash-map-benchmark.dir/link.txt +1 -0
- package/build/CMakeFiles/hash-map-benchmark.dir/progress.make +3 -0
- package/build/CMakeFiles/hash-map-benchmark.dir/test/performance/data-structures/hash/hash-map.test.cpp.o +0 -0
- package/build/CMakeFiles/hash-map-benchmark.dir/test/performance/data-structures/hash/hash-map.test.cpp.o.d +786 -0
- package/build/CMakeFiles/heap-benchmark.dir/DependInfo.cmake +23 -0
- package/build/CMakeFiles/heap-benchmark.dir/build.make +114 -0
- package/build/CMakeFiles/heap-benchmark.dir/cmake_clean.cmake +11 -0
- package/build/CMakeFiles/heap-benchmark.dir/compiler_depend.internal +843 -0
- package/build/CMakeFiles/heap-benchmark.dir/compiler_depend.make +2518 -0
- package/build/CMakeFiles/heap-benchmark.dir/compiler_depend.ts +2 -0
- package/build/CMakeFiles/heap-benchmark.dir/depend.make +2 -0
- package/build/CMakeFiles/heap-benchmark.dir/flags.make +10 -0
- package/build/CMakeFiles/heap-benchmark.dir/link.txt +1 -0
- package/build/CMakeFiles/heap-benchmark.dir/progress.make +3 -0
- package/build/CMakeFiles/heap-benchmark.dir/test/performance/data-structures/heap/heap.test.cpp.o +0 -0
- package/build/CMakeFiles/heap-benchmark.dir/test/performance/data-structures/heap/heap.test.cpp.o.d +839 -0
- package/build/CMakeFiles/priority-queue-benchmark.dir/DependInfo.cmake +23 -0
- package/build/CMakeFiles/priority-queue-benchmark.dir/build.make +114 -0
- package/build/CMakeFiles/priority-queue-benchmark.dir/cmake_clean.cmake +11 -0
- package/build/CMakeFiles/priority-queue-benchmark.dir/compiler_depend.internal +793 -0
- package/build/CMakeFiles/priority-queue-benchmark.dir/compiler_depend.make +2368 -0
- package/build/CMakeFiles/priority-queue-benchmark.dir/compiler_depend.ts +2 -0
- package/build/CMakeFiles/priority-queue-benchmark.dir/depend.make +2 -0
- package/build/CMakeFiles/priority-queue-benchmark.dir/flags.make +10 -0
- package/build/CMakeFiles/priority-queue-benchmark.dir/link.txt +1 -0
- package/build/CMakeFiles/priority-queue-benchmark.dir/progress.make +3 -0
- package/build/CMakeFiles/priority-queue-benchmark.dir/test/performance/data-structures/priority-queue/priority-queue.test.cpp.o +0 -0
- package/build/CMakeFiles/priority-queue-benchmark.dir/test/performance/data-structures/priority-queue/priority-queue.test.cpp.o.d +789 -0
- package/build/CMakeFiles/progress.marks +1 -0
- package/build/CMakeFiles/queue-benchmark.dir/DependInfo.cmake +23 -0
- package/build/CMakeFiles/queue-benchmark.dir/build.make +114 -0
- package/build/CMakeFiles/queue-benchmark.dir/cmake_clean.cmake +11 -0
- package/build/CMakeFiles/queue-benchmark.dir/compiler_depend.internal +793 -0
- package/build/CMakeFiles/queue-benchmark.dir/compiler_depend.make +2368 -0
- package/build/CMakeFiles/queue-benchmark.dir/compiler_depend.ts +2 -0
- package/build/CMakeFiles/queue-benchmark.dir/depend.make +2 -0
- package/build/CMakeFiles/queue-benchmark.dir/flags.make +10 -0
- package/build/CMakeFiles/queue-benchmark.dir/link.txt +1 -0
- package/build/CMakeFiles/queue-benchmark.dir/progress.make +3 -0
- package/build/CMakeFiles/queue-benchmark.dir/test/performance/data-structures/queue/queue.test.cpp.o +0 -0
- package/build/CMakeFiles/queue-benchmark.dir/test/performance/data-structures/queue/queue.test.cpp.o.d +789 -0
- package/build/CMakeFiles/red-black-tree-benchmark.dir/DependInfo.cmake +23 -0
- package/build/CMakeFiles/red-black-tree-benchmark.dir/build.make +114 -0
- package/build/CMakeFiles/red-black-tree-benchmark.dir/cmake_clean.cmake +11 -0
- package/build/CMakeFiles/red-black-tree-benchmark.dir/compiler_depend.internal +839 -0
- package/build/CMakeFiles/red-black-tree-benchmark.dir/compiler_depend.make +2506 -0
- package/build/CMakeFiles/red-black-tree-benchmark.dir/compiler_depend.ts +2 -0
- package/build/CMakeFiles/red-black-tree-benchmark.dir/depend.make +2 -0
- package/build/CMakeFiles/red-black-tree-benchmark.dir/flags.make +10 -0
- package/build/CMakeFiles/red-black-tree-benchmark.dir/link.txt +1 -0
- package/build/CMakeFiles/red-black-tree-benchmark.dir/progress.make +3 -0
- package/build/CMakeFiles/red-black-tree-benchmark.dir/test/performance/data-structures/binary-tree/red-black-tree.test.cpp.o +0 -0
- package/build/CMakeFiles/red-black-tree-benchmark.dir/test/performance/data-structures/binary-tree/red-black-tree.test.cpp.o.d +835 -0
- package/build/CMakeFiles/singly-linked-list-benchmark.dir/DependInfo.cmake +23 -0
- package/build/CMakeFiles/singly-linked-list-benchmark.dir/build.make +114 -0
- package/build/CMakeFiles/singly-linked-list-benchmark.dir/cmake_clean.cmake +11 -0
- package/build/CMakeFiles/singly-linked-list-benchmark.dir/compiler_depend.internal +790 -0
- package/build/CMakeFiles/singly-linked-list-benchmark.dir/compiler_depend.make +2359 -0
- package/build/CMakeFiles/singly-linked-list-benchmark.dir/compiler_depend.ts +2 -0
- package/build/CMakeFiles/singly-linked-list-benchmark.dir/depend.make +2 -0
- package/build/CMakeFiles/singly-linked-list-benchmark.dir/flags.make +10 -0
- package/build/CMakeFiles/singly-linked-list-benchmark.dir/link.txt +1 -0
- package/build/CMakeFiles/singly-linked-list-benchmark.dir/progress.make +3 -0
- package/build/CMakeFiles/singly-linked-list-benchmark.dir/test/performance/data-structures/linked-list/singly-linked-list.test.cpp.o +0 -0
- package/build/CMakeFiles/singly-linked-list-benchmark.dir/test/performance/data-structures/linked-list/singly-linked-list.test.cpp.o.d +786 -0
- package/build/CMakeFiles/stack-benchmark.dir/DependInfo.cmake +23 -0
- package/build/CMakeFiles/stack-benchmark.dir/build.make +114 -0
- package/build/CMakeFiles/stack-benchmark.dir/cmake_clean.cmake +11 -0
- package/build/CMakeFiles/stack-benchmark.dir/compiler_depend.internal +793 -0
- package/build/CMakeFiles/stack-benchmark.dir/compiler_depend.make +2368 -0
- package/build/CMakeFiles/stack-benchmark.dir/compiler_depend.ts +2 -0
- package/build/CMakeFiles/stack-benchmark.dir/depend.make +2 -0
- package/build/CMakeFiles/stack-benchmark.dir/flags.make +10 -0
- package/build/CMakeFiles/stack-benchmark.dir/link.txt +1 -0
- package/build/CMakeFiles/stack-benchmark.dir/progress.make +3 -0
- package/build/CMakeFiles/stack-benchmark.dir/test/performance/data-structures/stack/stack.test.cpp.o +0 -0
- package/build/CMakeFiles/stack-benchmark.dir/test/performance/data-structures/stack/stack.test.cpp.o.d +789 -0
- package/build/CMakeFiles/tree-map-benchmark.dir/DependInfo.cmake +23 -0
- package/build/CMakeFiles/tree-map-benchmark.dir/build.make +114 -0
- package/build/CMakeFiles/tree-map-benchmark.dir/cmake_clean.cmake +11 -0
- package/build/CMakeFiles/tree-map-benchmark.dir/compiler_depend.internal +839 -0
- package/build/CMakeFiles/tree-map-benchmark.dir/compiler_depend.make +2506 -0
- package/build/CMakeFiles/tree-map-benchmark.dir/compiler_depend.ts +2 -0
- package/build/CMakeFiles/tree-map-benchmark.dir/depend.make +2 -0
- package/build/CMakeFiles/tree-map-benchmark.dir/flags.make +10 -0
- package/build/CMakeFiles/tree-map-benchmark.dir/link.txt +1 -0
- package/build/CMakeFiles/tree-map-benchmark.dir/progress.make +3 -0
- package/build/CMakeFiles/tree-map-benchmark.dir/test/performance/data-structures/binary-tree/tree-map.test.cpp.o +0 -0
- package/build/CMakeFiles/tree-map-benchmark.dir/test/performance/data-structures/binary-tree/tree-map.test.cpp.o.d +835 -0
- package/build/CMakeFiles/tree-multi-map-benchmark.dir/DependInfo.cmake +23 -0
- package/build/CMakeFiles/tree-multi-map-benchmark.dir/build.make +114 -0
- package/build/CMakeFiles/tree-multi-map-benchmark.dir/cmake_clean.cmake +11 -0
- package/build/CMakeFiles/tree-multi-map-benchmark.dir/compiler_depend.internal +839 -0
- package/build/CMakeFiles/tree-multi-map-benchmark.dir/compiler_depend.make +2506 -0
- package/build/CMakeFiles/tree-multi-map-benchmark.dir/compiler_depend.ts +2 -0
- package/build/CMakeFiles/tree-multi-map-benchmark.dir/depend.make +2 -0
- package/build/CMakeFiles/tree-multi-map-benchmark.dir/flags.make +10 -0
- package/build/CMakeFiles/tree-multi-map-benchmark.dir/link.txt +1 -0
- package/build/CMakeFiles/tree-multi-map-benchmark.dir/progress.make +3 -0
- package/build/CMakeFiles/tree-multi-map-benchmark.dir/test/performance/data-structures/binary-tree/tree-multi-map.test.cpp.o +0 -0
- package/build/CMakeFiles/tree-multi-map-benchmark.dir/test/performance/data-structures/binary-tree/tree-multi-map.test.cpp.o.d +835 -0
- package/build/CMakeFiles/tree-multi-set-benchmark.dir/DependInfo.cmake +23 -0
- package/build/CMakeFiles/tree-multi-set-benchmark.dir/build.make +114 -0
- package/build/CMakeFiles/tree-multi-set-benchmark.dir/cmake_clean.cmake +11 -0
- package/build/CMakeFiles/tree-multi-set-benchmark.dir/compiler_depend.internal +839 -0
- package/build/CMakeFiles/tree-multi-set-benchmark.dir/compiler_depend.make +2506 -0
- package/build/CMakeFiles/tree-multi-set-benchmark.dir/compiler_depend.ts +2 -0
- package/build/CMakeFiles/tree-multi-set-benchmark.dir/depend.make +2 -0
- package/build/CMakeFiles/tree-multi-set-benchmark.dir/flags.make +10 -0
- package/build/CMakeFiles/tree-multi-set-benchmark.dir/link.txt +1 -0
- package/build/CMakeFiles/tree-multi-set-benchmark.dir/progress.make +3 -0
- package/build/CMakeFiles/tree-multi-set-benchmark.dir/test/performance/data-structures/binary-tree/tree-multi-set.test.cpp.o +0 -0
- package/build/CMakeFiles/tree-multi-set-benchmark.dir/test/performance/data-structures/binary-tree/tree-multi-set.test.cpp.o.d +835 -0
- package/build/CMakeFiles/tree-set-benchmark.dir/DependInfo.cmake +23 -0
- package/build/CMakeFiles/tree-set-benchmark.dir/build.make +114 -0
- package/build/CMakeFiles/tree-set-benchmark.dir/cmake_clean.cmake +11 -0
- package/build/CMakeFiles/tree-set-benchmark.dir/compiler_depend.internal +839 -0
- package/build/CMakeFiles/tree-set-benchmark.dir/compiler_depend.make +2506 -0
- package/build/CMakeFiles/tree-set-benchmark.dir/compiler_depend.ts +2 -0
- package/build/CMakeFiles/tree-set-benchmark.dir/depend.make +2 -0
- package/build/CMakeFiles/tree-set-benchmark.dir/flags.make +10 -0
- package/build/CMakeFiles/tree-set-benchmark.dir/link.txt +1 -0
- package/build/CMakeFiles/tree-set-benchmark.dir/progress.make +3 -0
- package/build/CMakeFiles/tree-set-benchmark.dir/test/performance/data-structures/binary-tree/tree-set.test.cpp.o +0 -0
- package/build/CMakeFiles/tree-set-benchmark.dir/test/performance/data-structures/binary-tree/tree-set.test.cpp.o.d +835 -0
- package/build/Makefile +783 -0
- package/build/_deps/benchmark-build/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- package/build/_deps/benchmark-build/CMakeFiles/progress.marks +1 -0
- package/build/_deps/benchmark-build/Makefile +140 -0
- package/build/_deps/benchmark-build/benchmark.pc +12 -0
- package/build/_deps/benchmark-build/benchmarkConfig.cmake +14 -0
- package/build/_deps/benchmark-build/benchmarkConfigVersion.cmake +65 -0
- package/build/_deps/benchmark-build/benchmarkTargets.cmake +84 -0
- package/build/_deps/benchmark-build/cmake_install.cmake +50 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/DependInfo.cmake +41 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/benchmark.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/benchmark.cc.o.d +875 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/benchmark_api_internal.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/benchmark_api_internal.cc.o.d +802 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/benchmark_name.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/benchmark_name.cc.o.d +772 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o.d +841 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/benchmark_runner.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/benchmark_runner.cc.o.d +833 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/build.make +402 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/check.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/check.cc.o.d +784 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/cmake_clean.cmake +47 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/cmake_clean_target.cmake +3 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/colorprint.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/colorprint.cc.o.d +791 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o.d +795 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/compiler_depend.internal +15519 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/compiler_depend.make +17500 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/compiler_depend.ts +2 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/complexity.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/complexity.cc.o.d +793 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/console_reporter.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/console_reporter.cc.o.d +802 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/counter.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/counter.cc.o.d +773 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o.d +799 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/depend.make +2 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/flags.make +10 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/json_reporter.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/json_reporter.cc.o.d +800 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/link.txt +2 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/perf_counters.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/perf_counters.cc.o.d +807 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/progress.make +21 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/reporter.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/reporter.cc.o.d +798 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/statistics.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/statistics.cc.o.d +800 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/string_util.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/string_util.cc.o.d +795 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/sysinfo.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/sysinfo.cc.o.d +933 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/timers.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark.dir/timers.cc.o.d +904 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark_main.dir/DependInfo.cmake +23 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o +0 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o.d +772 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark_main.dir/build.make +114 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark_main.dir/cmake_clean.cmake +11 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark_main.dir/cmake_clean_target.cmake +3 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark_main.dir/compiler_depend.internal +776 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark_main.dir/compiler_depend.make +2317 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark_main.dir/compiler_depend.ts +2 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark_main.dir/depend.make +2 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark_main.dir/flags.make +10 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark_main.dir/link.txt +2 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/benchmark_main.dir/progress.make +3 -0
- package/build/_deps/benchmark-build/src/CMakeFiles/progress.marks +1 -0
- package/build/_deps/benchmark-build/src/Makefile +710 -0
- package/build/_deps/benchmark-build/src/cmake_install.cmake +45 -0
- package/build/_deps/benchmark-build/src/libbenchmark.a +0 -0
- package/build/_deps/benchmark-build/src/libbenchmark_main.a +0 -0
- package/build/_deps/benchmark-src/.clang-format +5 -0
- package/build/_deps/benchmark-src/.clang-tidy +7 -0
- package/build/_deps/benchmark-src/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
- package/build/_deps/benchmark-src/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- package/build/_deps/benchmark-src/.github/install_bazel.sh +13 -0
- package/build/_deps/benchmark-src/.github/libcxx-setup.sh +26 -0
- package/build/_deps/benchmark-src/.github/workflows/bazel.yml +35 -0
- package/build/_deps/benchmark-src/.github/workflows/build-and-test-min-cmake.yml +46 -0
- package/build/_deps/benchmark-src/.github/workflows/build-and-test-perfcounters.yml +51 -0
- package/build/_deps/benchmark-src/.github/workflows/build-and-test.yml +114 -0
- package/build/_deps/benchmark-src/.github/workflows/clang-format-lint.yml +17 -0
- package/build/_deps/benchmark-src/.github/workflows/clang-tidy.yml +38 -0
- package/build/_deps/benchmark-src/.github/workflows/doxygen.yml +28 -0
- package/build/_deps/benchmark-src/.github/workflows/pylint.yml +28 -0
- package/build/_deps/benchmark-src/.github/workflows/sanitizer.yml +96 -0
- package/build/_deps/benchmark-src/.github/workflows/test_bindings.yml +29 -0
- package/build/_deps/benchmark-src/.github/workflows/wheels.yml +79 -0
- package/build/_deps/benchmark-src/.travis.yml +208 -0
- package/build/_deps/benchmark-src/.ycm_extra_conf.py +115 -0
- package/build/_deps/benchmark-src/AUTHORS +71 -0
- package/build/_deps/benchmark-src/BUILD.bazel +87 -0
- package/build/_deps/benchmark-src/CMakeLists.txt +340 -0
- package/build/_deps/benchmark-src/CONTRIBUTING.md +58 -0
- package/build/_deps/benchmark-src/CONTRIBUTORS +95 -0
- package/build/_deps/benchmark-src/LICENSE +202 -0
- package/build/_deps/benchmark-src/MODULE.bazel +24 -0
- package/build/_deps/benchmark-src/README.md +223 -0
- package/build/_deps/benchmark-src/WORKSPACE +22 -0
- package/build/_deps/benchmark-src/WORKSPACE.bzlmod +2 -0
- package/build/_deps/benchmark-src/_config.yml +2 -0
- package/build/_deps/benchmark-src/appveyor.yml +50 -0
- package/build/_deps/benchmark-src/bazel/benchmark_deps.bzl +65 -0
- package/build/_deps/benchmark-src/bindings/python/BUILD +3 -0
- package/build/_deps/benchmark-src/bindings/python/build_defs.bzl +25 -0
- package/build/_deps/benchmark-src/bindings/python/google_benchmark/BUILD +40 -0
- package/build/_deps/benchmark-src/bindings/python/google_benchmark/__init__.py +162 -0
- package/build/_deps/benchmark-src/bindings/python/google_benchmark/benchmark.cc +184 -0
- package/build/_deps/benchmark-src/bindings/python/google_benchmark/example.py +136 -0
- package/build/_deps/benchmark-src/bindings/python/nanobind.BUILD +17 -0
- package/build/_deps/benchmark-src/bindings/python/python_headers.BUILD +6 -0
- package/build/_deps/benchmark-src/cmake/AddCXXCompilerFlag.cmake +78 -0
- package/build/_deps/benchmark-src/cmake/CXXFeatureCheck.cmake +82 -0
- package/build/_deps/benchmark-src/cmake/Config.cmake.in +7 -0
- package/build/_deps/benchmark-src/cmake/GetGitVersion.cmake +58 -0
- package/build/_deps/benchmark-src/cmake/GoogleTest.cmake +58 -0
- package/build/_deps/benchmark-src/cmake/GoogleTest.cmake.in +59 -0
- package/build/_deps/benchmark-src/cmake/benchmark.pc.in +12 -0
- package/build/_deps/benchmark-src/cmake/gnu_posix_regex.cpp +12 -0
- package/build/_deps/benchmark-src/cmake/llvm-toolchain.cmake +8 -0
- package/build/_deps/benchmark-src/cmake/posix_regex.cpp +14 -0
- package/build/_deps/benchmark-src/cmake/pthread_affinity.cpp +16 -0
- package/build/_deps/benchmark-src/cmake/split_list.cmake +3 -0
- package/build/_deps/benchmark-src/cmake/std_regex.cpp +10 -0
- package/build/_deps/benchmark-src/cmake/steady_clock.cpp +7 -0
- package/build/_deps/benchmark-src/cmake/thread_safety_attributes.cpp +4 -0
- package/build/_deps/benchmark-src/docs/AssemblyTests.md +149 -0
- package/build/_deps/benchmark-src/docs/_config.yml +3 -0
- package/build/_deps/benchmark-src/docs/assets/images/icon.png +0 -0
- package/build/_deps/benchmark-src/docs/assets/images/icon.xcf +0 -0
- package/build/_deps/benchmark-src/docs/assets/images/icon_black.png +0 -0
- package/build/_deps/benchmark-src/docs/assets/images/icon_black.xcf +0 -0
- package/build/_deps/benchmark-src/docs/dependencies.md +13 -0
- package/build/_deps/benchmark-src/docs/index.md +12 -0
- package/build/_deps/benchmark-src/docs/perf_counters.md +35 -0
- package/build/_deps/benchmark-src/docs/platform_specific_build_instructions.md +48 -0
- package/build/_deps/benchmark-src/docs/python_bindings.md +34 -0
- package/build/_deps/benchmark-src/docs/random_interleaving.md +13 -0
- package/build/_deps/benchmark-src/docs/reducing_variance.md +100 -0
- package/build/_deps/benchmark-src/docs/releasing.md +41 -0
- package/build/_deps/benchmark-src/docs/tools.md +343 -0
- package/build/_deps/benchmark-src/docs/user_guide.md +1266 -0
- package/build/_deps/benchmark-src/include/benchmark/benchmark.h +1991 -0
- package/build/_deps/benchmark-src/include/benchmark/export.h +47 -0
- package/build/_deps/benchmark-src/pyproject.toml +50 -0
- package/build/_deps/benchmark-src/setup.py +113 -0
- package/build/_deps/benchmark-src/src/CMakeLists.txt +170 -0
- package/build/_deps/benchmark-src/src/arraysize.h +33 -0
- package/build/_deps/benchmark-src/src/benchmark.cc +779 -0
- package/build/_deps/benchmark-src/src/benchmark_api_internal.cc +118 -0
- package/build/_deps/benchmark-src/src/benchmark_api_internal.h +87 -0
- package/build/_deps/benchmark-src/src/benchmark_main.cc +18 -0
- package/build/_deps/benchmark-src/src/benchmark_name.cc +59 -0
- package/build/_deps/benchmark-src/src/benchmark_register.cc +520 -0
- package/build/_deps/benchmark-src/src/benchmark_register.h +109 -0
- package/build/_deps/benchmark-src/src/benchmark_runner.cc +497 -0
- package/build/_deps/benchmark-src/src/benchmark_runner.h +131 -0
- package/build/_deps/benchmark-src/src/check.cc +11 -0
- package/build/_deps/benchmark-src/src/check.h +106 -0
- package/build/_deps/benchmark-src/src/colorprint.cc +200 -0
- package/build/_deps/benchmark-src/src/colorprint.h +33 -0
- package/build/_deps/benchmark-src/src/commandlineflags.cc +298 -0
- package/build/_deps/benchmark-src/src/commandlineflags.h +133 -0
- package/build/_deps/benchmark-src/src/complexity.cc +244 -0
- package/build/_deps/benchmark-src/src/complexity.h +55 -0
- package/build/_deps/benchmark-src/src/console_reporter.cc +206 -0
- package/build/_deps/benchmark-src/src/counter.cc +80 -0
- package/build/_deps/benchmark-src/src/counter.h +32 -0
- package/build/_deps/benchmark-src/src/csv_reporter.cc +161 -0
- package/build/_deps/benchmark-src/src/cycleclock.h +230 -0
- package/build/_deps/benchmark-src/src/internal_macros.h +115 -0
- package/build/_deps/benchmark-src/src/json_reporter.cc +320 -0
- package/build/_deps/benchmark-src/src/log.h +88 -0
- package/build/_deps/benchmark-src/src/mutex.h +155 -0
- package/build/_deps/benchmark-src/src/perf_counters.cc +282 -0
- package/build/_deps/benchmark-src/src/perf_counters.h +200 -0
- package/build/_deps/benchmark-src/src/re.h +158 -0
- package/build/_deps/benchmark-src/src/reporter.cc +118 -0
- package/build/_deps/benchmark-src/src/statistics.cc +209 -0
- package/build/_deps/benchmark-src/src/statistics.h +44 -0
- package/build/_deps/benchmark-src/src/string_util.cc +254 -0
- package/build/_deps/benchmark-src/src/string_util.h +70 -0
- package/build/_deps/benchmark-src/src/sysinfo.cc +855 -0
- package/build/_deps/benchmark-src/src/thread_manager.h +63 -0
- package/build/_deps/benchmark-src/src/thread_timer.h +86 -0
- package/build/_deps/benchmark-src/src/timers.cc +272 -0
- package/build/_deps/benchmark-src/src/timers.h +48 -0
- package/build/_deps/benchmark-src/test/AssemblyTests.cmake +67 -0
- package/build/_deps/benchmark-src/test/BUILD +127 -0
- package/build/_deps/benchmark-src/test/CMakeLists.txt +309 -0
- package/build/_deps/benchmark-src/test/args_product_test.cc +77 -0
- package/build/_deps/benchmark-src/test/basic_test.cc +180 -0
- package/build/_deps/benchmark-src/test/benchmark_gtest.cc +169 -0
- package/build/_deps/benchmark-src/test/benchmark_min_time_flag_iters_test.cc +66 -0
- package/build/_deps/benchmark-src/test/benchmark_min_time_flag_time_test.cc +90 -0
- package/build/_deps/benchmark-src/test/benchmark_name_gtest.cc +82 -0
- package/build/_deps/benchmark-src/test/benchmark_random_interleaving_gtest.cc +126 -0
- package/build/_deps/benchmark-src/test/benchmark_setup_teardown_test.cc +157 -0
- package/build/_deps/benchmark-src/test/benchmark_test.cc +274 -0
- package/build/_deps/benchmark-src/test/clobber_memory_assembly_test.cc +64 -0
- package/build/_deps/benchmark-src/test/commandlineflags_gtest.cc +228 -0
- package/build/_deps/benchmark-src/test/complexity_test.cc +228 -0
- package/build/_deps/benchmark-src/test/cxx03_test.cc +62 -0
- package/build/_deps/benchmark-src/test/diagnostics_test.cc +91 -0
- package/build/_deps/benchmark-src/test/display_aggregates_only_test.cc +45 -0
- package/build/_deps/benchmark-src/test/donotoptimize_assembly_test.cc +201 -0
- package/build/_deps/benchmark-src/test/donotoptimize_test.cc +69 -0
- package/build/_deps/benchmark-src/test/filter_test.cc +117 -0
- package/build/_deps/benchmark-src/test/fixture_test.cc +51 -0
- package/build/_deps/benchmark-src/test/internal_threading_test.cc +185 -0
- package/build/_deps/benchmark-src/test/link_main_test.cc +9 -0
- package/build/_deps/benchmark-src/test/map_test.cc +59 -0
- package/build/_deps/benchmark-src/test/memory_manager_test.cc +47 -0
- package/build/_deps/benchmark-src/test/min_time_parse_gtest.cc +30 -0
- package/build/_deps/benchmark-src/test/multiple_ranges_test.cc +96 -0
- package/build/_deps/benchmark-src/test/options_test.cc +77 -0
- package/build/_deps/benchmark-src/test/output_test.h +211 -0
- package/build/_deps/benchmark-src/test/output_test_helper.cc +519 -0
- package/build/_deps/benchmark-src/test/perf_counters_gtest.cc +307 -0
- package/build/_deps/benchmark-src/test/perf_counters_test.cc +92 -0
- package/build/_deps/benchmark-src/test/register_benchmark_test.cc +196 -0
- package/build/_deps/benchmark-src/test/repetitions_test.cc +214 -0
- package/build/_deps/benchmark-src/test/report_aggregates_only_test.cc +41 -0
- package/build/_deps/benchmark-src/test/reporter_output_test.cc +1130 -0
- package/build/_deps/benchmark-src/test/skip_with_error_test.cc +199 -0
- package/build/_deps/benchmark-src/test/spec_arg_test.cc +105 -0
- package/build/_deps/benchmark-src/test/spec_arg_verbosity_test.cc +43 -0
- package/build/_deps/benchmark-src/test/state_assembly_test.cc +68 -0
- package/build/_deps/benchmark-src/test/statistics_gtest.cc +35 -0
- package/build/_deps/benchmark-src/test/string_util_gtest.cc +199 -0
- package/build/_deps/benchmark-src/test/templated_fixture_test.cc +28 -0
- package/build/_deps/benchmark-src/test/time_unit_gtest.cc +37 -0
- package/build/_deps/benchmark-src/test/user_counters_tabular_test.cc +558 -0
- package/build/_deps/benchmark-src/test/user_counters_test.cc +561 -0
- package/build/_deps/benchmark-src/test/user_counters_thousands_test.cc +186 -0
- package/build/_deps/benchmark-src/tools/BUILD.bazel +19 -0
- package/build/_deps/benchmark-src/tools/compare.py +432 -0
- package/build/_deps/benchmark-src/tools/gbench/Inputs/test1_run1.json +127 -0
- package/build/_deps/benchmark-src/tools/gbench/Inputs/test1_run2.json +127 -0
- package/build/_deps/benchmark-src/tools/gbench/Inputs/test2_run.json +81 -0
- package/build/_deps/benchmark-src/tools/gbench/Inputs/test3_run0.json +65 -0
- package/build/_deps/benchmark-src/tools/gbench/Inputs/test3_run1.json +65 -0
- package/build/_deps/benchmark-src/tools/gbench/Inputs/test4_run.json +96 -0
- package/build/_deps/benchmark-src/tools/gbench/Inputs/test4_run0.json +21 -0
- package/build/_deps/benchmark-src/tools/gbench/Inputs/test4_run1.json +21 -0
- package/build/_deps/benchmark-src/tools/gbench/__init__.py +8 -0
- package/build/_deps/benchmark-src/tools/gbench/report.py +1201 -0
- package/build/_deps/benchmark-src/tools/gbench/util.py +203 -0
- package/build/_deps/benchmark-src/tools/libpfm.BUILD.bazel +22 -0
- package/build/_deps/benchmark-src/tools/requirements.txt +2 -0
- package/build/_deps/benchmark-src/tools/strip_asm.py +151 -0
- package/build/_deps/benchmark-subbuild/CMakeCache.txt +133 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/4.0.3/CMakeSystem.cmake +15 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/CMakeConfigureLog.yaml +11 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/CMakeRuleHashes.txt +11 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/InstallScripts.json +7 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/Makefile.cmake +52 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/Makefile2 +122 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/TargetDirectories.txt +3 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/benchmark-populate.dir/DependInfo.cmake +22 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/benchmark-populate.dir/Labels.json +46 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/benchmark-populate.dir/Labels.txt +14 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/benchmark-populate.dir/build.make +162 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/benchmark-populate.dir/cmake_clean.cmake +17 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/benchmark-populate.dir/compiler_depend.make +2 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/benchmark-populate.dir/compiler_depend.ts +2 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/benchmark-populate.dir/progress.make +10 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/cmake.check_cache +1 -0
- package/build/_deps/benchmark-subbuild/CMakeFiles/progress.marks +1 -0
- package/build/_deps/benchmark-subbuild/CMakeLists.txt +42 -0
- package/build/_deps/benchmark-subbuild/Makefile +162 -0
- package/build/_deps/benchmark-subbuild/benchmark-populate-prefix/src/benchmark-populate-stamp/benchmark-populate-gitclone-lastrun.txt +15 -0
- package/build/_deps/benchmark-subbuild/benchmark-populate-prefix/src/benchmark-populate-stamp/benchmark-populate-gitinfo.txt +15 -0
- package/build/_deps/benchmark-subbuild/benchmark-populate-prefix/src/benchmark-populate-stamp/benchmark-populate-patch-info.txt +6 -0
- package/build/_deps/benchmark-subbuild/benchmark-populate-prefix/src/benchmark-populate-stamp/benchmark-populate-update-info.txt +7 -0
- package/build/_deps/benchmark-subbuild/benchmark-populate-prefix/tmp/benchmark-populate-cfgcmd.txt +1 -0
- package/build/_deps/benchmark-subbuild/benchmark-populate-prefix/tmp/benchmark-populate-gitclone.cmake +87 -0
- package/build/_deps/benchmark-subbuild/benchmark-populate-prefix/tmp/benchmark-populate-gitupdate.cmake +317 -0
- package/build/_deps/benchmark-subbuild/benchmark-populate-prefix/tmp/benchmark-populate-mkdirs.cmake +27 -0
- package/build/_deps/benchmark-subbuild/cmake_install.cmake +56 -0
- package/build/bin/avl-rb-range-search-benchmark +0 -0
- package/build/bin/avl-tree-benchmark +0 -0
- package/build/bin/deque-benchmark +0 -0
- package/build/bin/doubly-linked-list-benchmark +0 -0
- package/build/bin/hash-map-benchmark +0 -0
- package/build/bin/heap-benchmark +0 -0
- package/build/bin/priority-queue-benchmark +0 -0
- package/build/bin/queue-benchmark +0 -0
- package/build/bin/red-black-tree-benchmark +0 -0
- package/build/bin/singly-linked-list-benchmark +0 -0
- package/build/bin/stack-benchmark +0 -0
- package/build/bin/tree-map-benchmark +0 -0
- package/build/bin/tree-multi-map-benchmark +0 -0
- package/build/bin/tree-multi-set-benchmark +0 -0
- package/build/bin/tree-set-benchmark +0 -0
- package/build/cmake_install.cmake +66 -0
- package/dist/cjs/index.cjs +1328 -1201
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs-legacy/index.cjs +1366 -1209
- package/dist/cjs-legacy/index.cjs.map +1 -1
- package/dist/esm/index.mjs +1326 -1196
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm-legacy/index.mjs +1364 -1204
- package/dist/esm-legacy/index.mjs.map +1 -1
- package/dist/types/data-structures/binary-tree/binary-tree.d.ts +3 -3
- package/dist/types/data-structures/binary-tree/index.d.ts +3 -3
- package/dist/types/data-structures/binary-tree/tree-map.d.ts +188 -0
- package/dist/types/data-structures/binary-tree/tree-multi-map.d.ts +238 -147
- package/dist/types/data-structures/binary-tree/tree-multi-set.d.ts +270 -0
- package/dist/types/data-structures/binary-tree/tree-set.d.ts +181 -0
- package/dist/types/interfaces/binary-tree.d.ts +1 -1
- package/dist/types/types/data-structures/binary-tree/index.d.ts +3 -3
- package/dist/types/types/data-structures/binary-tree/tree-map.d.ts +33 -0
- package/dist/types/types/data-structures/binary-tree/tree-multi-set.d.ts +16 -0
- package/dist/types/types/data-structures/binary-tree/tree-set.d.ts +33 -0
- package/dist/umd/data-structure-typed.js +1360 -1193
- package/dist/umd/data-structure-typed.js.map +1 -1
- package/dist/umd/data-structure-typed.min.js +12 -5
- package/dist/umd/data-structure-typed.min.js.map +1 -1
- package/eslint.config.mjs +5 -1
- package/package.json +8 -3
- package/src/data-structures/binary-tree/avl-tree.ts +1 -1
- package/src/data-structures/binary-tree/binary-tree.ts +40 -16
- package/src/data-structures/binary-tree/bst.ts +6 -6
- package/src/data-structures/binary-tree/index.ts +3 -3
- package/src/data-structures/binary-tree/red-black-tree.ts +34 -52
- package/src/data-structures/binary-tree/tree-map.ts +439 -0
- package/src/data-structures/binary-tree/tree-multi-map.ts +488 -325
- package/src/data-structures/binary-tree/tree-multi-set.ts +502 -0
- package/src/data-structures/binary-tree/tree-set.ts +407 -0
- package/src/interfaces/binary-tree.ts +1 -1
- package/src/types/data-structures/binary-tree/index.ts +3 -3
- package/src/types/data-structures/binary-tree/tree-map.ts +45 -0
- package/src/types/data-structures/binary-tree/tree-multi-set.ts +19 -0
- package/src/types/data-structures/binary-tree/tree-set.ts +39 -0
- package/test/config.ts +2 -2
- package/test/performance/benchmark-runner-enhanced.mjs +818 -0
- package/test/performance/cmake-benchmark-runner.mjs +234 -0
- package/test/performance/data-structures/binary-tree/avl-rb-range-search.test.cpp +112 -0
- package/test/performance/data-structures/binary-tree/avl-rb-range-search.test.mjs +51 -0
- package/test/performance/data-structures/binary-tree/avl-tree.test.cpp +181 -0
- package/test/performance/data-structures/binary-tree/avl-tree.test.mjs +138 -0
- package/test/performance/data-structures/binary-tree/binary-tree-overall.test.mjs +85 -0
- package/test/performance/data-structures/binary-tree/binary-tree.test.mjs +100 -0
- package/test/performance/data-structures/binary-tree/bst.test.mjs +61 -0
- package/test/performance/data-structures/binary-tree/red-black-tree-cjs.test.mjs +259 -0
- package/test/performance/data-structures/binary-tree/red-black-tree.test.cpp +213 -0
- package/test/performance/data-structures/binary-tree/red-black-tree.test.mjs +275 -0
- package/test/performance/data-structures/binary-tree/tree-map.test.cpp +129 -0
- package/test/performance/data-structures/binary-tree/tree-map.test.mjs +171 -0
- package/test/performance/data-structures/binary-tree/tree-multi-map.test.cpp +205 -0
- package/test/performance/data-structures/binary-tree/tree-multi-map.test.mjs +106 -0
- package/test/performance/data-structures/binary-tree/tree-multi-set.test.cpp +217 -0
- package/test/performance/data-structures/binary-tree/tree-multi-set.test.mjs +91 -0
- package/test/performance/data-structures/binary-tree/tree-set.test.cpp +127 -0
- package/test/performance/data-structures/binary-tree/tree-set.test.mjs +174 -0
- package/test/performance/data-structures/comparison/{comparison.test.ts → comparison.test.mjs} +17 -17
- package/test/performance/data-structures/graph/{directed-graph.test.ts → directed-graph.test.mjs} +4 -4
- package/test/performance/data-structures/hash/hash-map.test.cpp +183 -0
- package/test/performance/data-structures/hash/hash-map.test.mjs +187 -0
- package/test/performance/data-structures/heap/heap.test.cpp +61 -0
- package/test/performance/data-structures/heap/heap.test.mjs +31 -0
- package/test/performance/data-structures/linked-list/doubly-linked-list.test.cpp +84 -0
- package/test/performance/data-structures/linked-list/doubly-linked-list.test.mjs +125 -0
- package/test/performance/data-structures/linked-list/singly-linked-list.test.cpp +77 -0
- package/test/performance/data-structures/linked-list/singly-linked-list.test.mjs +84 -0
- package/test/performance/data-structures/priority-queue/max-priority-queue.test.mjs +40 -0
- package/test/performance/data-structures/priority-queue/priority-queue.test.cpp +59 -0
- package/test/performance/data-structures/priority-queue/priority-queue.test.mjs +64 -0
- package/test/performance/data-structures/queue/deque.test.cpp +119 -0
- package/test/performance/data-structures/queue/deque.test.mjs +144 -0
- package/test/performance/data-structures/queue/queue.test.cpp +59 -0
- package/test/performance/data-structures/queue/queue.test.mjs +77 -0
- package/test/performance/data-structures/stack/stack.test.cpp +40 -0
- package/test/performance/data-structures/stack/stack.test.mjs +69 -0
- package/test/performance/data-structures/trie/trie.test.mjs +43 -0
- package/test/performance/reportor-enhanced.mjs +1027 -0
- package/test/performance/runner-config.json +33 -21
- package/test/unit/data-structures/base/iterable-element-base.more-branches.coverage.test.ts +6 -6
- package/test/unit/data-structures/base/linear-base.array.coverage.test.ts +5 -5
- package/test/unit/data-structures/base/linear-base.concat-else.coverage.test.ts +10 -10
- package/test/unit/data-structures/base/linear-base.more-branches.coverage.test.ts +7 -10
- package/test/unit/data-structures/binary-tree/avl-tree.test.ts +5 -5
- package/test/unit/data-structures/binary-tree/binary-tree.remaining-branches.coverage.test.ts +7 -4
- package/test/unit/data-structures/binary-tree/binary-tree.test.ts +7 -7
- package/test/unit/data-structures/binary-tree/bst.more-branches-3.coverage.test.ts +1 -1
- package/test/unit/data-structures/binary-tree/bst.test.ts +4 -4
- package/test/unit/data-structures/binary-tree/overall.test.ts +18 -31
- package/test/unit/data-structures/binary-tree/red-black-tree.boundary-max-update.coverage.test.ts +1 -1
- package/test/unit/data-structures/binary-tree/red-black-tree.cache-stale-insert.coverage.test.ts +2 -2
- package/test/unit/data-structures/binary-tree/red-black-tree.hint-mapmode-defined.coverage.test.ts +4 -4
- package/test/unit/data-structures/binary-tree/red-black-tree.hint-mapmode-undefined.coverage.test.ts +5 -5
- package/test/unit/data-structures/binary-tree/red-black-tree.hint-more.coverage.test.ts +3 -3
- package/test/unit/data-structures/binary-tree/red-black-tree.remaining-branches.coverage.test.ts +2 -2
- package/test/unit/data-structures/binary-tree/red-black-tree.set-inputs.coverage.test.ts +1 -1
- package/test/unit/data-structures/binary-tree/red-black-tree.setkvnode-parent-cache.coverage.test.ts +1 -1
- package/test/unit/data-structures/binary-tree/red-black-tree.setkvnode-remaining.coverage.test.ts +4 -4
- package/test/unit/data-structures/binary-tree/red-black-tree.setkvnode-uncovered.coverage.test.ts +1 -1
- package/test/unit/data-structures/binary-tree/red-black-tree.test.ts +2 -2
- package/test/unit/data-structures/binary-tree/red-black-tree.update-branches.coverage.test.ts +4 -4
- package/test/unit/data-structures/binary-tree/tree-map.test.ts +316 -0
- package/test/unit/data-structures/binary-tree/tree-multi-map.coverage.test.ts +144 -3
- package/test/unit/data-structures/binary-tree/{tree-multi-map.test.ts → tree-multi-map.legacy.test.ts.skip} +16 -16
- package/test/unit/data-structures/binary-tree/tree-multi-map.rfc.test.ts +146 -0
- package/test/unit/data-structures/binary-tree/tree-multi-map.simplified.test.ts +482 -0
- package/test/unit/data-structures/binary-tree/tree-multi-set.test.ts +594 -0
- package/test/unit/data-structures/binary-tree/tree-set.test.ts +231 -0
- package/test/unit/unrestricted-interconversion.test.ts +12 -10
- package/test/utils/patch.ts +3 -3
- package/test/utils/perf.mjs +34 -0
- package/dist/types/data-structures/binary-tree/avl-tree-counter.d.ts +0 -236
- package/dist/types/data-structures/binary-tree/avl-tree-multi-map.d.ts +0 -197
- package/dist/types/data-structures/binary-tree/tree-counter.d.ts +0 -243
- package/dist/types/types/data-structures/binary-tree/avl-tree-counter.d.ts +0 -2
- package/dist/types/types/data-structures/binary-tree/avl-tree-multi-map.d.ts +0 -2
- package/dist/types/types/data-structures/binary-tree/tree-counter.d.ts +0 -2
- package/src/data-structures/binary-tree/avl-tree-counter.ts +0 -539
- package/src/data-structures/binary-tree/avl-tree-multi-map.ts +0 -438
- package/src/data-structures/binary-tree/tree-counter.ts +0 -587
- package/src/types/data-structures/binary-tree/avl-tree-counter.ts +0 -3
- package/src/types/data-structures/binary-tree/avl-tree-multi-map.ts +0 -3
- package/src/types/data-structures/binary-tree/tree-counter.ts +0 -3
- package/test/performance/benchmark-runner.ts +0 -531
- package/test/performance/data-structures/binary-tree/avl-tree.test.ts +0 -40
- package/test/performance/data-structures/binary-tree/binary-tree-overall.test.ts +0 -37
- package/test/performance/data-structures/binary-tree/binary-tree.test.ts +0 -40
- package/test/performance/data-structures/binary-tree/bst.test.ts +0 -28
- package/test/performance/data-structures/binary-tree/red-black-tree.test.ts +0 -60
- package/test/performance/data-structures/hash/hash-map.test.ts +0 -99
- package/test/performance/data-structures/heap/heap.test.ts +0 -26
- package/test/performance/data-structures/heap/min-heap.test.ts +0 -0
- package/test/performance/data-structures/linked-list/doubly-linked-list.test.ts +0 -59
- package/test/performance/data-structures/linked-list/linked-list.test.ts +0 -0
- package/test/performance/data-structures/linked-list/singly-linked-list.test.ts +0 -35
- package/test/performance/data-structures/linked-list/skip-linked-list.test.ts +0 -0
- package/test/performance/data-structures/linked-list/skip-list.test.ts +0 -0
- package/test/performance/data-structures/matrix/matrix.test.ts +0 -0
- package/test/performance/data-structures/matrix/navigator.test.ts +0 -0
- package/test/performance/data-structures/priority-queue/max-priority-queue.test.ts +0 -17
- package/test/performance/data-structures/priority-queue/min-priority-queue.test.ts +0 -0
- package/test/performance/data-structures/priority-queue/priority-queue.test.ts +0 -34
- package/test/performance/data-structures/queue/deque.test.ts +0 -59
- package/test/performance/data-structures/queue/queue.test.ts +0 -35
- package/test/performance/data-structures/stack/stack.test.ts +0 -37
- package/test/performance/data-structures/trie/trie.test.ts +0 -18
- package/test/performance/reportor.ts +0 -279
- package/test/performance/single-suite-runner.ts +0 -72
- package/test/performance/types/index.ts +0 -1
- package/test/performance/types/reportor.ts +0 -7
- package/test/unit/data-structures/binary-tree/avl-tree-counter.more-branches-3.coverage.test.ts +0 -146
- package/test/unit/data-structures/binary-tree/avl-tree-counter.more-branches.coverage.test.ts +0 -93
- package/test/unit/data-structures/binary-tree/avl-tree-counter.test.ts +0 -878
- package/test/unit/data-structures/binary-tree/avl-tree-multi-map.coverage.test.ts +0 -108
- package/test/unit/data-structures/binary-tree/avl-tree-multi-map.more-branches-2.coverage.test.ts +0 -85
- package/test/unit/data-structures/binary-tree/avl-tree-multi-map.test.ts +0 -740
- package/test/unit/data-structures/binary-tree/tree-counter.coverage.test.ts +0 -115
- package/test/unit/data-structures/binary-tree/tree-counter.more-branches.coverage.test.ts +0 -244
- package/test/unit/data-structures/binary-tree/tree-counter.test.ts +0 -979
- /package/{test/performance/data-structures/binary-tree/binary-index-tree.test.ts → build/_deps/benchmark-subbuild/CMakeFiles/benchmark-populate-complete} +0 -0
- /package/{test/performance/data-structures/binary-tree/segment-tree.test.ts → build/_deps/benchmark-subbuild/benchmark-populate-prefix/src/benchmark-populate-stamp/benchmark-populate-build} +0 -0
- /package/{test/performance/data-structures/binary-tree/tree-multimap.test.ts → build/_deps/benchmark-subbuild/benchmark-populate-prefix/src/benchmark-populate-stamp/benchmark-populate-configure} +0 -0
- /package/{test/performance/data-structures/graph/abstract-graph.test.ts → build/_deps/benchmark-subbuild/benchmark-populate-prefix/src/benchmark-populate-stamp/benchmark-populate-done} +0 -0
- /package/{test/performance/data-structures/graph/map-graph.test.ts → build/_deps/benchmark-subbuild/benchmark-populate-prefix/src/benchmark-populate-stamp/benchmark-populate-download} +0 -0
- /package/{test/performance/data-structures/graph/overall.test.ts → build/_deps/benchmark-subbuild/benchmark-populate-prefix/src/benchmark-populate-stamp/benchmark-populate-install} +0 -0
- /package/{test/performance/data-structures/graph/undirected-graph.test.ts → build/_deps/benchmark-subbuild/benchmark-populate-prefix/src/benchmark-populate-stamp/benchmark-populate-mkdir} +0 -0
- /package/{test/performance/data-structures/hash/hash-table.test.ts → build/_deps/benchmark-subbuild/benchmark-populate-prefix/src/benchmark-populate-stamp/benchmark-populate-patch} +0 -0
- /package/{test/performance/data-structures/heap/max-heap.test.ts → build/_deps/benchmark-subbuild/benchmark-populate-prefix/src/benchmark-populate-stamp/benchmark-populate-test} +0 -0
- /package/test/unit/data-structures/binary-tree/{tree-multi-map.more-branches-2.coverage.test.ts → tree-multi-map.more-branches-2.coverage.test.ts.skip} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file.
|
|
|
8
8
|
- [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
|
|
9
9
|
- [`auto-changelog`](https://github.com/CookPete/auto-changelog)
|
|
10
10
|
|
|
11
|
-
## [v2.
|
|
11
|
+
## [v2.4.1](https://github.com/zrwusa/data-structure-typed/compare/v2.2.3...main) (upcoming)
|
|
12
12
|
|
|
13
13
|
## [v2.2.3](https://github.com/zrwusa/data-structure-typed/compare/v2.2.2...v2.2.3) (6 January 2026)
|
|
14
14
|
|
package/CMakeLists.txt
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 3.20)
|
|
2
|
+
project(data-structure-benchmarks CXX)
|
|
3
|
+
|
|
4
|
+
set(CMAKE_CXX_STANDARD 17)
|
|
5
|
+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
6
|
+
set(CMAKE_CXX_EXTENSIONS OFF)
|
|
7
|
+
|
|
8
|
+
# Release mode optimizations
|
|
9
|
+
if(NOT CMAKE_BUILD_TYPE)
|
|
10
|
+
set(CMAKE_BUILD_TYPE Release)
|
|
11
|
+
endif()
|
|
12
|
+
|
|
13
|
+
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -march=native")
|
|
14
|
+
|
|
15
|
+
# Set policy explicitly
|
|
16
|
+
cmake_policy(SET CMP0135 NEW)
|
|
17
|
+
|
|
18
|
+
# Google Benchmark
|
|
19
|
+
include(FetchContent)
|
|
20
|
+
|
|
21
|
+
FetchContent_Declare(
|
|
22
|
+
benchmark
|
|
23
|
+
GIT_REPOSITORY https://github.com/google/benchmark.git
|
|
24
|
+
GIT_TAG v1.8.3
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "Disable benchmark testing" FORCE)
|
|
28
|
+
set(BENCHMARK_ENABLE_INSTALL OFF CACHE BOOL "Disable benchmark install" FORCE)
|
|
29
|
+
|
|
30
|
+
FetchContent_MakeAvailable(benchmark)
|
|
31
|
+
|
|
32
|
+
# Find all C++ test files
|
|
33
|
+
file(GLOB_RECURSE CPP_TEST_FILES "${CMAKE_SOURCE_DIR}/test/performance/data-structures/**/*.test.cpp")
|
|
34
|
+
|
|
35
|
+
message(STATUS "Found C++ test files: ${CPP_TEST_FILES}")
|
|
36
|
+
|
|
37
|
+
# Create executable for each test file
|
|
38
|
+
foreach(TEST_FILE ${CPP_TEST_FILES})
|
|
39
|
+
get_filename_component(TEST_NAME ${TEST_FILE} NAME_WE)
|
|
40
|
+
string(REGEX REPLACE "\\.test$" "" TARGET_NAME ${TEST_NAME})
|
|
41
|
+
|
|
42
|
+
message(STATUS "Creating benchmark target: ${TARGET_NAME}-benchmark")
|
|
43
|
+
|
|
44
|
+
add_executable(${TARGET_NAME}-benchmark ${TEST_FILE})
|
|
45
|
+
target_link_libraries(${TARGET_NAME}-benchmark PRIVATE benchmark::benchmark)
|
|
46
|
+
|
|
47
|
+
set_target_properties(${TARGET_NAME}-benchmark PROPERTIES
|
|
48
|
+
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
|
49
|
+
CXX_STANDARD 17
|
|
50
|
+
CXX_STANDARD_REQUIRED ON
|
|
51
|
+
)
|
|
52
|
+
endforeach()
|
package/README.md
CHANGED
|
@@ -6,7 +6,6 @@ A comprehensive TypeScript data structures library with production-ready impleme
|
|
|
6
6
|
|
|
7
7
|

|
|
8
8
|

|
|
9
|
-

|
|
10
9
|

|
|
11
10
|
[](https://codecov.io/gh/zrwusa/data-structure-typed)
|
|
12
11
|

|
|
@@ -84,16 +83,16 @@ for (let i = 0; i < 100000; i++) {
|
|
|
84
83
|
|
|
85
84
|
## 🚀 Performance (TL;DR)
|
|
86
85
|
|
|
87
|
-
- **
|
|
88
|
-
- Array.
|
|
89
|
-
-
|
|
90
|
-
-
|
|
86
|
+
- **Optimized for V8 hot paths** (see [PERFORMANCE.md](./docs/PERFORMANCE.md) for measured benchmarks)
|
|
87
|
+
- Repeated Array.shift() O(n) → Deque O(1)
|
|
88
|
+
- Frequent update + keep-sorted workflows → RedBlackTree O(log n) operations
|
|
89
|
+
- Avoid repeated `Array.sort()` if you must maintain sorted order after each update
|
|
91
90
|
|
|
92
91
|
- **Optimized for V8 JIT** (Node.js 18+, modern browsers)
|
|
93
92
|
|
|
94
93
|
- **Tree-shakable** ESM / CJS / legacy builds
|
|
95
94
|
|
|
96
|
-
📊 [Full benchmarks →](./docs/
|
|
95
|
+
📊 [Full benchmarks →](./docs/benchmark.html)
|
|
97
96
|
|
|
98
97
|
---
|
|
99
98
|
|
|
@@ -469,7 +468,7 @@ class MessageQueue {
|
|
|
469
468
|
✅ **50+ code examples** (real-world patterns)
|
|
470
469
|
✅ **Full TypeScript support** (strict typing)
|
|
471
470
|
✅ **Performance benchmarks** (484x speedups)
|
|
472
|
-
✅ **Framework integrations** (React, Express, Nest.js)
|
|
471
|
+
✅ **Framework integrations** (React, Express, Nest.js)
|
|
473
472
|
✅ **6 core documentation files** (2500+ lines)
|
|
474
473
|
|
|
475
474
|
---
|
package/README_CN.md
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|

|
|
8
8
|

|
|
9
|
-

|
|
10
9
|

|
|
11
10
|
[](https://codecov.io/gh/zrwusa/data-structure-typed)
|
|
12
11
|

|
|
@@ -74,17 +73,17 @@ for (let i = 0; i < 100000; i++) {
|
|
|
74
73
|
deque.shift(); // O(1) - 仅移动指针
|
|
75
74
|
}
|
|
76
75
|
// 耗时: 5.83ms ✅
|
|
77
|
-
//
|
|
76
|
+
// **约快 485 倍!**
|
|
78
77
|
```
|
|
79
78
|
|
|
80
79
|
---
|
|
81
80
|
|
|
82
81
|
## 🚀 性能 (简版)
|
|
83
82
|
|
|
84
|
-
-
|
|
85
|
-
- Array.
|
|
86
|
-
-
|
|
87
|
-
-
|
|
83
|
+
- **针对 V8 热路径优化**(以 [PERFORMANCE_CN.md](./docs/PERFORMANCE_CN.md) 的实测基准为准)
|
|
84
|
+
- 重复 Array.shift() O(n) → Deque O(1)
|
|
85
|
+
- 频繁更新且需要保持有序 → RedBlackTree O(log n)
|
|
86
|
+
- 如果每次更新后都要保持排序,尽量避免反复 `Array.sort()`
|
|
88
87
|
|
|
89
88
|
- **针对 V8 JIT 优化** (Node.js 18+、现代浏览器)
|
|
90
89
|
|
package/benchmark/report.html
CHANGED
|
@@ -1,14 +1,221 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Performance Benchmark Report - data-structure-typed</title>
|
|
3
7
|
<style>
|
|
4
|
-
body {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
body {
|
|
9
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
10
|
+
background: #f5f5f5;
|
|
11
|
+
color: #333;
|
|
12
|
+
padding: 20px;
|
|
13
|
+
line-height: 1.6;
|
|
14
|
+
}
|
|
15
|
+
.container {
|
|
16
|
+
max-width: 1000px;
|
|
17
|
+
margin: 0 auto;
|
|
18
|
+
background: white;
|
|
19
|
+
border-radius: 8px;
|
|
20
|
+
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
21
|
+
padding: 30px;
|
|
22
|
+
}
|
|
23
|
+
h1 {
|
|
24
|
+
color: #2c3e50;
|
|
25
|
+
margin-bottom: 10px;
|
|
26
|
+
border-bottom: 3px solid #3498db;
|
|
27
|
+
padding-bottom: 15px;
|
|
28
|
+
}
|
|
29
|
+
.timestamp {
|
|
30
|
+
color: #7f8c8d;
|
|
31
|
+
font-size: 14px;
|
|
32
|
+
margin-bottom: 10px;
|
|
33
|
+
}
|
|
34
|
+
.back-link {
|
|
35
|
+
margin-bottom: 30px;
|
|
36
|
+
}
|
|
37
|
+
.back-link a {
|
|
38
|
+
color: #3498db;
|
|
39
|
+
text-decoration: none;
|
|
40
|
+
}
|
|
41
|
+
.back-link a:hover {
|
|
42
|
+
text-decoration: underline;
|
|
43
|
+
}
|
|
44
|
+
.summary {
|
|
45
|
+
background: #ecf0f1;
|
|
46
|
+
padding: 15px;
|
|
47
|
+
border-radius: 6px;
|
|
48
|
+
margin-bottom: 30px;
|
|
49
|
+
display: flex;
|
|
50
|
+
gap: 40px;
|
|
51
|
+
flex-wrap: wrap;
|
|
52
|
+
}
|
|
53
|
+
.summary-stat {
|
|
54
|
+
display: inline-block;
|
|
55
|
+
}
|
|
56
|
+
.summary-label {
|
|
57
|
+
font-size: 12px;
|
|
58
|
+
color: #7f8c8d;
|
|
59
|
+
text-transform: uppercase;
|
|
60
|
+
font-weight: 600;
|
|
61
|
+
}
|
|
62
|
+
.summary-value {
|
|
63
|
+
font-size: 24px;
|
|
64
|
+
font-weight: bold;
|
|
65
|
+
color: #2c3e50;
|
|
66
|
+
margin-top: 5px;
|
|
67
|
+
}
|
|
68
|
+
.toc {
|
|
69
|
+
background: #f9f9f9;
|
|
70
|
+
padding: 20px;
|
|
71
|
+
border-radius: 6px;
|
|
72
|
+
margin-bottom: 30px;
|
|
73
|
+
}
|
|
74
|
+
.toc h3 {
|
|
75
|
+
margin-top: 0;
|
|
76
|
+
color: #2c3e50;
|
|
77
|
+
}
|
|
78
|
+
.toc ul {
|
|
79
|
+
column-count: 3;
|
|
80
|
+
column-gap: 20px;
|
|
81
|
+
list-style: none;
|
|
82
|
+
padding: 0;
|
|
83
|
+
margin: 0;
|
|
84
|
+
}
|
|
85
|
+
.toc li {
|
|
86
|
+
margin-bottom: 8px;
|
|
87
|
+
}
|
|
88
|
+
.toc a {
|
|
89
|
+
color: #3498db;
|
|
90
|
+
text-decoration: none;
|
|
91
|
+
}
|
|
92
|
+
.toc a:hover {
|
|
93
|
+
text-decoration: underline;
|
|
94
|
+
}
|
|
95
|
+
.test-section {
|
|
96
|
+
margin-bottom: 40px;
|
|
97
|
+
padding: 20px;
|
|
98
|
+
background: #f9f9f9;
|
|
99
|
+
border-radius: 6px;
|
|
100
|
+
border-left: 4px solid #3498db;
|
|
101
|
+
}
|
|
102
|
+
.test-name {
|
|
103
|
+
font-size: 18px;
|
|
104
|
+
font-weight: 600;
|
|
105
|
+
color: #2c3e50;
|
|
106
|
+
margin-bottom: 15px;
|
|
107
|
+
}
|
|
108
|
+
.note {
|
|
109
|
+
font-size: 13px;
|
|
110
|
+
color: #7f8c8d;
|
|
111
|
+
margin-bottom: 15px;
|
|
112
|
+
font-style: italic;
|
|
113
|
+
}
|
|
114
|
+
table {
|
|
115
|
+
width: 100%;
|
|
116
|
+
border-collapse: collapse;
|
|
117
|
+
margin-bottom: 10px;
|
|
118
|
+
background: white;
|
|
119
|
+
border-radius: 6px;
|
|
120
|
+
overflow: hidden;
|
|
121
|
+
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
|
|
122
|
+
font-size: 13px;
|
|
123
|
+
}
|
|
124
|
+
th {
|
|
125
|
+
background: #34495e;
|
|
126
|
+
color: white;
|
|
127
|
+
padding: 10px 12px;
|
|
128
|
+
text-align: right;
|
|
129
|
+
font-weight: 600;
|
|
130
|
+
}
|
|
131
|
+
th:first-child {
|
|
132
|
+
text-align: left;
|
|
133
|
+
}
|
|
134
|
+
td {
|
|
135
|
+
padding: 10px 12px;
|
|
136
|
+
border-bottom: 1px solid #ecf0f1;
|
|
137
|
+
text-align: right;
|
|
138
|
+
}
|
|
139
|
+
td:first-child {
|
|
140
|
+
text-align: left;
|
|
141
|
+
font-weight: 500;
|
|
142
|
+
}
|
|
143
|
+
tr:hover {
|
|
144
|
+
background: #f5f5f5;
|
|
145
|
+
}
|
|
146
|
+
.metric-dst {
|
|
147
|
+
color: #27ae60;
|
|
148
|
+
font-weight: 600;
|
|
149
|
+
}
|
|
150
|
+
.metric-sdsl {
|
|
151
|
+
color: #8e44ad;
|
|
152
|
+
}
|
|
153
|
+
.metric-native {
|
|
154
|
+
color: #e67e22;
|
|
155
|
+
}
|
|
156
|
+
.metric-cpp {
|
|
157
|
+
color: #e74c3c;
|
|
158
|
+
}
|
|
159
|
+
.na {
|
|
160
|
+
color: #bdc3c7;
|
|
161
|
+
}
|
|
162
|
+
@media (max-width: 768px) {
|
|
163
|
+
.toc ul {
|
|
164
|
+
column-count: 1;
|
|
165
|
+
}
|
|
166
|
+
table {
|
|
167
|
+
font-size: 12px;
|
|
168
|
+
}
|
|
169
|
+
th, td {
|
|
170
|
+
padding: 8px 6px;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
</style>
|
|
174
|
+
</head>
|
|
175
|
+
<body>
|
|
176
|
+
<div class="container">
|
|
177
|
+
<h1>📊 Performance Benchmark Report</h1>
|
|
178
|
+
<div class="timestamp">Generated: 2/27/2026, 11:00:50 PM</div>
|
|
179
|
+
<div class="back-link">
|
|
180
|
+
<a href="https://github.com/zrwusa/data-structure-typed">← Back to Repository</a> |
|
|
181
|
+
<a href="https://github.com/zrwusa/data-structure-typed/blob/main/docs/PERFORMANCE.md">View Markdown Version</a>
|
|
182
|
+
</div>
|
|
183
|
+
|
|
184
|
+
<div class="summary">
|
|
185
|
+
<div class="summary-stat">
|
|
186
|
+
<div class="summary-label">Data Structures</div>
|
|
187
|
+
<div class="summary-value">17</div>
|
|
188
|
+
</div>
|
|
189
|
+
<div class="summary-stat">
|
|
190
|
+
<div class="summary-label">JS Tests</div>
|
|
191
|
+
<div class="summary-value">177</div>
|
|
192
|
+
</div>
|
|
193
|
+
<div class="summary-stat">
|
|
194
|
+
<div class="summary-label">C++ Tests</div>
|
|
195
|
+
<div class="summary-value">74</div>
|
|
196
|
+
</div>
|
|
197
|
+
</div>
|
|
198
|
+
|
|
199
|
+
<div class="toc">
|
|
200
|
+
<h3>📋 Table of Contents</h3>
|
|
201
|
+
<ul>
|
|
202
|
+
<li><a href="#doublylinkedlist">DoublyLinkedList</a></li>
|
|
203
|
+
<li><a href="#singlylinkedlist">SinglyLinkedList</a></li>
|
|
204
|
+
<li><a href="#hashmap">HashMap</a></li>
|
|
205
|
+
<li><a href="#queue">Queue</a></li>
|
|
206
|
+
<li><a href="#deque">Deque</a></li>
|
|
207
|
+
<li><a href="#priorityqueue">PriorityQueue</a></li>
|
|
208
|
+
<li><a href="#stack">Stack</a></li>
|
|
209
|
+
<li><a href="#redblacktree">RedBlackTree</a></li>
|
|
210
|
+
<li><a href="#avltree">AVLTree</a></li>
|
|
211
|
+
<li><a href="#treeset">TreeSet</a></li>
|
|
212
|
+
<li><a href="#treemap">TreeMap</a></li>
|
|
213
|
+
<li><a href="#treemultiset">TreeMultiSet</a></li>
|
|
214
|
+
<li><a href="#treemultimap">TreeMultiMap</a></li>
|
|
215
|
+
<li><a href="#bst">BST</a></li>
|
|
216
|
+
<li><a href="#binarytree">BinaryTree</a></li>
|
|
217
|
+
<li><a href="#trie">Trie</a></li>
|
|
218
|
+
<li><a href="#directedgraph">DirectedGraph</a></li>
|
|
219
|
+
</ul>
|
|
220
|
+
</div>
|
|
221
|
+
<div class="test-section" id="doublylinkedlist"><div class="test-name">DoublyLinkedList</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>100k push</td><td class="metric-dst">5.1068</td><td class="metric-sdsl">1.9662</td><td class="metric-native">1.9327</td><td class="metric-cpp">5.7</td></tr><tr><td>100k unshift</td><td class="metric-dst">5.6251</td><td class="metric-sdsl">1.6535</td><td class="metric-native">897.47</td><td class="metric-cpp">5.85</td></tr><tr><td>100k unshift & shift</td><td class="metric-dst">3.9617</td><td class="metric-sdsl">1.9021</td><td class="metric-native">2229.86</td><td class="metric-cpp">5.74</td></tr><tr><td>100k addAt(mid)</td><td class="metric-dst">1377.93</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">754.81</td></tr><tr><td>100k addBefore (cursor)</td><td class="metric-dst">6.8479</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">6.18</td></tr></tbody></table></div><div class="test-section" id="singlylinkedlist"><div class="test-name">SinglyLinkedList</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>100K unshift & shift</td><td class="metric-dst">3.657</td><td class="na">-</td><td class="metric-native">1954.99</td><td class="metric-cpp">4.8</td></tr><tr><td>10K unshift & shift</td><td class="metric-dst">0.3519</td><td class="na">-</td><td class="metric-native">6.3455</td><td class="metric-cpp">0.47</td></tr><tr><td>10K addAt(mid)</td><td class="metric-dst">9.6426</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">5.77</td></tr><tr><td>10K addBefore (cursor)</td><td class="metric-dst">17.47</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">0.53</td></tr></tbody></table></div><div class="test-section" id="hashmap"><div class="test-name">HashMap</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>1M set</td><td class="metric-dst">65.43</td><td class="metric-sdsl">89.7</td><td class="metric-native">158.98</td><td class="metric-cpp">76.26</td></tr><tr><td>1M set & get</td><td class="metric-dst">81.86</td><td class="metric-sdsl">72.97</td><td class="metric-native">212.83</td><td class="metric-cpp">75.25</td></tr><tr><td>1M ObjKey set & get</td><td class="metric-dst">249</td><td class="metric-sdsl">399.01</td><td class="metric-native">223.97</td><td class="metric-cpp">84.4</td></tr></tbody></table></div><div class="test-section" id="queue"><div class="test-name">Queue</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>1M push</td><td class="metric-dst">29.46</td><td class="metric-sdsl">33.31</td><td class="metric-native">25.29</td><td class="metric-cpp">1.7</td></tr><tr><td>100K push & shift</td><td class="metric-dst">3.3554</td><td class="metric-sdsl">3.0014</td><td class="metric-native">1160.09</td><td class="metric-cpp">0.2</td></tr></tbody></table></div><div class="test-section" id="deque"><div class="test-name">Deque</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>1M push</td><td class="metric-dst">10.98</td><td class="metric-sdsl">7.8495</td><td class="metric-native">24.28</td><td class="metric-cpp">1.76</td></tr><tr><td>1M push & pop</td><td class="metric-dst">11.56</td><td class="metric-sdsl">12.14</td><td class="metric-native">30.68</td><td class="metric-cpp">2.2</td></tr><tr><td>1M push & shift</td><td class="metric-dst">10.95</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">1.94</td></tr><tr><td>100K push & shift</td><td class="metric-dst">1.395</td><td class="metric-sdsl">1.1509</td><td class="metric-native">1255.31</td><td class="metric-cpp">0.19</td></tr><tr><td>100K unshift & shift</td><td class="metric-dst">1.1966</td><td class="metric-sdsl">1.1638</td><td class="metric-native">1980.94</td><td class="metric-cpp">0.19</td></tr></tbody></table></div><div class="test-section" id="priorityqueue"><div class="test-name">PriorityQueue</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>100K add</td><td class="metric-dst">4.5393</td><td class="metric-sdsl">5.0825</td><td class="na">-</td><td class="metric-cpp">1.05</td></tr><tr><td>100K add & poll</td><td class="metric-dst">22.77</td><td class="metric-sdsl">23.18</td><td class="na">-</td><td class="metric-cpp">4.53</td></tr></tbody></table></div><div class="test-section" id="stack"><div class="test-name">Stack</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>1M push</td><td class="metric-dst">28.46</td><td class="metric-sdsl">31.41</td><td class="metric-native">24.84</td><td class="metric-cpp">1.65</td></tr><tr><td>1M push & pop</td><td class="metric-dst">28.99</td><td class="metric-sdsl">32.2</td><td class="metric-native">28.46</td><td class="metric-cpp">2.62</td></tr></tbody></table></div><div class="test-section" id="redblacktree"><div class="test-name">RedBlackTree</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>Node Mode (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>1M get</td><td class="metric-dst">98.97</td><td class="metric-dst">259.04</td><td class="metric-sdsl">137.55</td><td class="na">-</td><td class="metric-cpp">52.97</td></tr><tr><td>200K rangeSearch SEQ</td><td class="metric-dst">1150.86</td><td class="na">-</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>200K rangeSearch RAND</td><td class="metric-dst">1612.65</td><td class="na">-</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1M upd SEQ</td><td class="metric-dst">81.06</td><td class="metric-dst">229.33</td><td class="metric-sdsl">174.39</td><td class="na">-</td><td class="metric-cpp">68.43</td></tr><tr><td>1M upd RAND</td><td class="metric-dst">110.29</td><td class="metric-dst">378.95</td><td class="metric-sdsl">301.59</td><td class="na">-</td><td class="metric-cpp">158.14</td></tr><tr><td>1M ins SEQ</td><td class="metric-dst">544.99</td><td class="metric-dst">194</td><td class="metric-sdsl">86.56</td><td class="na">-</td><td class="metric-cpp">162.72</td></tr><tr><td>1M ins RAND</td><td class="metric-dst">1025.93</td><td class="metric-dst">906.98</td><td class="metric-sdsl">636.16</td><td class="na">-</td><td class="metric-cpp">483.56</td></tr><tr><td>1M keys-only</td><td class="metric-dst">3.8192</td><td class="na">-</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">0.09</td></tr></tbody></table></div><div class="test-section" id="avltree"><div class="test-name">AVLTree</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>100K add randomly</td><td class="metric-dst">146.42</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">16.62</td></tr><tr><td>100K add</td><td class="metric-dst">120.24</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">15.48</td></tr><tr><td>100K get</td><td class="metric-dst">4.6116</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">7.21</td></tr><tr><td>100K getNode</td><td class="metric-dst">31.34</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">8.51</td></tr><tr><td>100K iterator</td><td class="metric-dst">6.1388</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">1.06</td></tr><tr><td>100K add & delete orderly</td><td class="metric-dst">180.78</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">21.56</td></tr><tr><td>100K add & delete randomly</td><td class="metric-dst">218.68</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">27.96</td></tr><tr><td>AVL Tree 100K rangeSearch queries</td><td class="metric-dst">1352.3</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">111.9</td></tr></tbody></table></div><div class="test-section" id="treeset"><div class="test-name">TreeSet</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>1M add TreeSet</td><td class="metric-dst">1011.82</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">462</td></tr><tr><td>1M add TreeSet (Node)</td><td class="metric-dst">912.3</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">462</td></tr><tr><td>1M add RBT</td><td class="metric-dst">1167.06</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">462</td></tr><tr><td>1M add RBT (Node)</td><td class="metric-dst">975.7</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">462</td></tr><tr><td>1M add js-sdsl</td><td class="metric-dst">642.32</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1M has TreeSet</td><td class="metric-dst">65.41</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">444</td></tr><tr><td>1M has TreeSet (Node)</td><td class="metric-dst">809.01</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">444</td></tr><tr><td>1M has RBT</td><td class="metric-dst">67.48</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">444</td></tr><tr><td>1M has RBT (Node)</td><td class="metric-dst">1034.91</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">444</td></tr><tr><td>1M has js-sdsl</td><td class="metric-dst">761.43</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1M build+has TreeSet</td><td class="metric-dst">1096.77</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">837</td></tr><tr><td>1M build+has TreeSet (Node)</td><td class="metric-dst">1732.51</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">837</td></tr><tr><td>1M build+has RBT</td><td class="metric-dst">1155.43</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">837</td></tr><tr><td>1M build+has RBT (Node)</td><td class="metric-dst">1867.76</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">837</td></tr><tr><td>1M build+has js-sdsl</td><td class="metric-dst">1311.66</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K rangeSearch TreeSet</td><td class="metric-dst">20.83</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K rangeSearch TreeSet (Node)</td><td class="metric-dst">20.74</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K navigable TreeSet</td><td class="metric-dst">110.15</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K navigable TreeSet (Node)</td><td class="metric-dst">106.73</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K build+rangeSearch TreeSet</td><td class="metric-dst">1059.08</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K build+rangeSearch TreeSet (Node)</td><td class="metric-dst">929.91</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K build+navigable TreeSet</td><td class="metric-dst">1201.07</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K build+navigable TreeSet (Node)</td><td class="metric-dst">1004.24</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr></tbody></table></div><div class="test-section" id="treemap"><div class="test-name">TreeMap</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>1M set TreeMap</td><td class="metric-dst">1130.7</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">512</td></tr><tr><td>1M set TreeMap (Node)</td><td class="metric-dst">904.29</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">512</td></tr><tr><td>1M set RBT</td><td class="metric-dst">1146.79</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">512</td></tr><tr><td>1M set RBT (Node)</td><td class="metric-dst">968.9</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">512</td></tr><tr><td>1M set js-sdsl</td><td class="metric-dst">640.34</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1M get TreeMap</td><td class="metric-dst">156.38</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">322</td></tr><tr><td>1M get TreeMap (Node)</td><td class="metric-dst">867.81</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">322</td></tr><tr><td>1M get RBT</td><td class="metric-dst">156.19</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">322</td></tr><tr><td>1M get RBT (Node)</td><td class="metric-dst">916.83</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">322</td></tr><tr><td>1M get js-sdsl</td><td class="metric-dst">672.22</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1M build+get TreeMap</td><td class="metric-dst">1262.71</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">819</td></tr><tr><td>1M build+get TreeMap (Node)</td><td class="metric-dst">1712.26</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">819</td></tr><tr><td>1M build+get RBT</td><td class="metric-dst">1215.09</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">819</td></tr><tr><td>1M build+get RBT (Node)</td><td class="metric-dst">1811.83</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">819</td></tr><tr><td>1M build+get js-sdsl</td><td class="metric-dst">1213.71</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K rangeSearch TreeMap</td><td class="metric-dst">53.07</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K rangeSearch TreeMap (Node)</td><td class="metric-dst">54.02</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K navigable TreeMap</td><td class="metric-dst">174.8</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K navigable TreeMap (Node)</td><td class="metric-dst">272.56</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K build+rangeSearch TreeMap</td><td class="metric-dst">1183.72</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K build+rangeSearch TreeMap (Node)</td><td class="metric-dst">954.72</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K build+navigable TreeMap</td><td class="metric-dst">1205.71</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K build+navigable TreeMap (Node)</td><td class="metric-dst">1178.08</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr></tbody></table></div><div class="test-section" id="treemultiset"><div class="test-name">TreeMultiSet</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>1M add (TreeMultiSet expanded iteration)</td><td class="metric-dst">233.76</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">752</td></tr><tr><td>1M has-only (TreeMultiSet)</td><td class="metric-dst">130.14</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">756</td></tr><tr><td>1M count-only (TreeMultiSet)</td><td class="metric-dst">73.21</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">1332</td></tr><tr><td>1M build+has (TreeMultiSet)</td><td class="metric-dst">368.22</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">1406</td></tr><tr><td>1M build+count (TreeMultiSet)</td><td class="metric-dst">307.33</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">1909</td></tr><tr><td>100K delete-one (TreeMultiSet)</td><td class="metric-dst">246.79</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K setCount (TreeMultiSet)</td><td class="metric-dst">251.85</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1M expanded iteration (TreeMultiSet)</td><td class="metric-dst">59.63</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1M entries view (TreeMultiSet)</td><td class="metric-dst">19.68</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1M size property (TreeMultiSet)</td><td class="metric-dst">0</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1M distinctSize property (TreeMultiSet)</td><td class="metric-dst">0</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr></tbody></table></div><div class="test-section" id="treemultimap"><div class="test-name">TreeMultiMap</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>1M add (TreeMultiMap bucketed)</td><td class="metric-dst">388.73</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">731</td></tr><tr><td>1M has-only (TreeMultiMap)</td><td class="metric-dst">30.79</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">833</td></tr><tr><td>1M get-only (TreeMultiMap)</td><td class="metric-dst">73.67</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">1553</td></tr><tr><td>1M count-only (TreeMultiMap)</td><td class="metric-dst">206.68</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">1548</td></tr><tr><td>1M build+has (TreeMultiMap)</td><td class="metric-dst">452.55</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">1519</td></tr><tr><td>1M build+get (TreeMultiMap)</td><td class="metric-dst">477.45</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">2263</td></tr><tr><td>100K hasEntry (TreeMultiMap Object.is)</td><td class="metric-dst">450.09</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K deleteValue (TreeMultiMap Object.is)</td><td class="metric-dst">435.96</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K firstEntry/lastEntry (TreeMultiMap)</td><td class="metric-dst">0</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K ceilingEntry/floorEntry (TreeMultiMap)</td><td class="metric-dst">0</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1M bucket iteration (TreeMultiMap)</td><td class="metric-dst">28.09</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">109</td></tr><tr><td>1M flatEntries iteration (TreeMultiMap)</td><td class="metric-dst">135.75</td><td class="na">-</td><td class="na">-</td><td class="metric-cpp">109</td></tr><tr><td>1M size property (TreeMultiMap)</td><td class="metric-dst">0</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1M totalSize property (TreeMultiMap)</td><td class="metric-dst">27.13</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr></tbody></table></div><div class="test-section" id="bst"><div class="test-name">BST</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>10K add randomly</td><td class="metric-dst">6.2675</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>10K add & delete randomly</td><td class="metric-dst">11.03</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>10K addMany</td><td class="metric-dst">11.93</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>10K get</td><td class="metric-dst">16.92</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr></tbody></table></div><div class="test-section" id="binarytree"><div class="test-name">BinaryTree</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>1K add randomly</td><td class="metric-dst">11.09</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1K add & delete randomly</td><td class="metric-dst">11.2</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1K addMany</td><td class="metric-dst">11.06</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1K get</td><td class="metric-dst">11.08</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1K has</td><td class="metric-dst">14.68</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1K dfs</td><td class="metric-dst">108.11</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1K bfs</td><td class="metric-dst">46.99</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1K morris</td><td class="metric-dst">41.61</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr></tbody></table></div><div class="test-section" id="trie"><div class="test-name">Trie</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>100K add</td><td class="metric-dst">257.47</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>100K getWords</td><td class="metric-dst">15858.61</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr></tbody></table></div><div class="test-section" id="directedgraph"><div class="test-name">DirectedGraph</div><p class="note">Comparison table: DST is data-structure-typed. Values in ms (lower is better). "-" = no equivalent test.</p><table><thead><tr><th>Test Case</th><th>DST (ms)</th><th>js-sdsl (ms)</th><th>Native (ms)</th><th>C++ (ms)</th></tr></thead><tbody><tr><td>1K addVertex</td><td class="metric-dst">0.0532</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1K addEdge</td><td class="metric-dst">0</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1K getVertex</td><td class="metric-dst">38.93</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>1K getEdge</td><td class="metric-dst">77.81</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>tarjan</td><td class="metric-dst">0.4219</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr><tr><td>topologicalSort</td><td class="metric-dst">0.2641</td><td class="na">-</td><td class="na">-</td><td class="na">-</td></tr></tbody></table></div></div></body></html>
|