moving display-lily.scm import to lily.scm

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

moving display-lily.scm import to lily.scm

Han-Wen Nienhuys-2

Hi Nicolas,

right now, the methods for displayLilyMusic are imported in
ly/music-functions-init.ly . This causes the machinery to be loaded
and thrown away for every .ly file separately. This is a significant
penalty in terms of CPU and memory usage.

Could you see if it is possible to load the display-lily machinery
via lily.scm, and then export 1 or 2 methods which are then
used in music-functions-init.ly ?

--

Han-Wen Nienhuys - [hidden email] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: moving display-lily.scm import to lily.scm

Nicolas Sceaux
Han-Wen Nienhuys <[hidden email]> writes:

> Hi Nicolas,
>
> right now, the methods for displayLilyMusic are imported in
> ly/music-functions-init.ly . This causes the machinery to be loaded
> and thrown away for every .ly file separately. This is a significant
> penalty in terms of CPU and memory usage.
>
> Could you see if it is possible to load the display-lily machinery
> via lily.scm, and then export 1 or 2 methods which are then
> used in music-functions-init.ly ?

OK, I'm working on that


_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel