lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gets vertical skylines from grob stencils (issue 5626052)


From: David Kastrup
Subject: Re: Gets vertical skylines from grob stencils (issue 5626052)
Date: Thu, 09 Feb 2012 19:03:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

"address@hidden" <address@hidden> writes:

> On Feb 7, 2012, at 6:47 PM, address@hidden 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]