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: Sun, 19 Feb 2012 12:55:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

David Kastrup <address@hidden> writes:

> "address@hidden" <address@hidden> writes:
>
>> Here's what does:
>> ----) Moving things to C++
>>
>> There's still a lot of scheme code in stencil-integrals.cc (scm_foo,
>> scm_bar, etc.).
>
> scm_xxx is not slow per se (the interpreter is more a cause for Scheme
> slowness than the primitives).  However, Scheme data structures like
> alists are often not really access-friendly.

And the numerical stuff (bezier intersections or what they are) really
needs to be C++.  Scheme is nice for glue code, but you should then have
a Bezier smob or similar and have logical operators at the Scheme level
that are then implemented in C++.

Nobody ever wants to touch that once it delivers the right results:
there is nothing tweakable in there.

-- 
David Kastrup




reply via email to

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