1 \documentclass{strayman}
3 \usepackage[T1]{fontenc}
4 \usepackage[palatino, helvetica, courier, maths = palatino]{mdwfonts}
10 \usepgfplotslibrary{statistics}
12 \pgfplotsset{compat = 1.16, width = 0.8\textwidth}
14 \errorcontextlines=\maxdimen
20 %% \begin{tikzpicture}
22 %% {xmin = 0, y dir = reverse, height = 160mm,
23 %% typeset ticklabels with strut,
24 %% enlarge y limits = 0.02,
34 [xlabel = Implementation,
37 { rotate = 60, anchor = north east, font = \sffamily },
38 enlarge x limits = 0.02,
39 ylabel = Time (ns/word),
40 ymin = 0, yticklabel style = {/pgf/number format/.cd, 1000 sep = \,},
41 legend cell align = left,
42 width = 0.95 \textwidth,
43 height = 0.60 \textheight,
47 libavl-avl, libavl-pavl, libavl-rtavl, libavl-tavl,
48 libavl-rb, libavl-prb, libavl-rtrb, libavl-trb,
49 %lisp-ccl, lisp-clisp, lisp-cmucl, lisp-ecl,
53 qptrie-qp-fanf, qptrie-qp-mdw, qptrie-qp-list,
54 qptrie-fn-fanf, qptrie-fn-mdw, qptrie-fn-list,
55 rust-btree, rust-hash,
57 xyla-avl, xyla-rb, xyla-splay, xyla-treap}]
59 table[x = impl, y = small] from {summary.dat};
60 \addlegendentry{\textsf{small}}
62 table[x = impl, y = medium] from {summary.dat};
63 \addlegendentry{\textsf{medium}}
65 table[x = impl, y = large] from {summary.dat};
66 \addlegendentry{\textsf{large}}
68 table[x = impl, y = huge] from {summary.dat};
69 \addlegendentry{\textsf{huge}}
71 table[x = impl, y = insane] from {summary.dat};
72 \addlegendentry{\textsf{insane}}
76 \caption{Performance of various associative mapping implementations}
81 \begin{tabular}[C]{llrr} \hlx*{hv}
84 & \multicolumn{1}{c}{\textbf{Words}}
85 & \multicolumn{1}{c}{\textbf{Bytes}} \\ \hlx{vhv}
86 \textsf{small} & \texttt{british-english-small}
87 & 50\,792 & 465\,516 \\
88 \textsf{medium} & \texttt{british-english}
89 & 101\,921 & 968\,222 \\
90 \textsf{large} & \texttt{british-english-large}
91 & 166\,747 & 1\,635\,703 \\
92 \textsf{huge} & \texttt{british-english-huge}
93 & 344\,817 & 3\,532\,576 \\
94 \textsf{insane} & \texttt{british-english-insane}
95 & 654\,276 & 6\,875\,495 \\ \hlx*{vh}
98 \caption{Dictionaries used in this experieent}
104 \caption{Performance of various associative mapping implementations.
105 Entries show times in nanoseconds per word, followed by ranking in