GNU bug report logs -
#52753
29.0.50; Printing long list-like structures fails
Previous Next
Reported by: Ihor Radchenko <yantar92 <at> gmail.com>
Date: Thu, 23 Dec 2021 11:06:01 UTC
Severity: normal
Found in version 29.0.50
Done: Mattias EngdegÄrd <mattiase <at> acm.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
30 jan. 2022 kl. 10.16 skrev Ihor Radchenko <yantar92 <at> gmail.com>:
> the speedup will only be relevant when
> explicitly allocated C arrays are used to store B-tree segments: all the
> tree data must be physically located within continuous segment of RAM
> address space.
Lisp vectors are contiguous in memory, and your keys are small integers and thus unboxed.
> People do say
> that splay trees can be good, but never have real world examples.
The trouble with splay trees seems to be that they require a very skewed access distribution to be worthwhile -- every read of something that isn't the latest accessed element becomes a tree modification. But that implies that the access pattern exhibits spatial and/or temporal locality, which makes caching an attractive alternative (explicit or those in your computer).
This bug report was last modified 2 years and 349 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.