David Kastrup <d...@gnu.org> writes: > "m...@apollinemike.com" <m...@apollinemike.com> 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 _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel