summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/shootout_hashmaps.cpp
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-05-07 16:38:58 +0200
committerTyge Løvset <[email protected]>2022-05-07 16:38:58 +0200
commite9c30e66af9c5c3054735eeb65c0bb384dea96b4 (patch)
treee144846216b6be8937a0067802d7c1bfdfac269c /benchmarks/shootout_hashmaps.cpp
parentd9dc93a90e1ac0a42e946be52b169e1175377c4f (diff)
downloadSTC-modified-e9c30e66af9c5c3054735eeb65c0bb384dea96b4.tar.gz
STC-modified-e9c30e66af9c5c3054735eeb65c0bb384dea96b4.zip
Updated alt/csmap.h to be synced with current csmap.h; alt-version allocates each node separately on the heap, regular uses an array.
Now alt-version of csmap and cstr can be used by defining -DSTC_CSMAP_V1 and -DSTC_CSTR_V1 when compiling. Improved code readability by making line breaks after if and while (also cmap.h). Note, the alt-versions may be removed in the future, but the alt csmap.h may be made into an intrusive sorted map, where the creation and destruction of nodes must be done by the user.
Diffstat (limited to 'benchmarks/shootout_hashmaps.cpp')
0 files changed, 0 insertions, 0 deletions