https://codereview.appspot.com/351880043/diff/20001/lily/page-turn-page-breaking.cc
File lily/page-turn-page-breaking.cc (right):

https://codereview.appspot.com/351880043/diff/20001/lily/page-turn-page-breaking.cc#newcode37
lily/page-turn-page-breaking.cc:37: bool page_breakable = scm_is_symbol
(g->get_property ("page-break-permission"));
This always looks up three properties.  The previous code likely stopped
after the first.  Lookups are actually expensive.

https://codereview.appspot.com/351880043/

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to