"m...@apollinemike.com" <m...@apollinemike.com> writes: > On Feb 7, 2012, at 6:47 PM, m...@apollinemike.com wrote: > > > I did some experiments with caching that are up on: > dev/skylines-cached
One thing I noticed: you work with tail pointers for consing stuff together. Don't. For one thing, they are a non-Guile data structure and thus are shaky with regard to garbage collection. For another, they make the code look more complex. And most importantly, they are _slower_ than just consing a list together in _reverse_, then reversing it in one go using scm_reverse_x. I profiled this. -- David Kastrup _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel