Re: GETF Speedup?
"Michał "phoe" Herda (as phoe at disroot dot org)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <[email protected]> |
W dniu 2025-10-11 16:07, David McClain (as dbm at refined-audiometrics dot com) napisał(a): > (lst (mapcan 'list keys vals)) Are you sure you are not measuring cache locality? MAPCAN #'LIST may effectively allocate conses of the whole plist next to one another in memory, where a CPU may recognize that it can optimize away pointer traversal and random memory access. I'd rather go for a benchmark where the conses are shuffled across the whole memory, with some GCs in between for a good measure.