https://codereview.appspot.com/561390043/diff/557260051/lily/include/score-engraver.hh
File lily/include/score-engraver.hh (right):

https://codereview.appspot.com/561390043/diff/557260051/lily/include/score-engraver.hh#newcode33
lily/include/score-engraver.hh:33: GC_word last_gc_count_;
FYI: Because we're using C++11 now, you have the option of providing the
default value of this member right here.

  GC_word last_gc_count_ = -1;

If you did that, you wouldn't have to mention this member in any
constructors.  IMO it would be even better than usual in this case
because it would get rid of a preprocessor conditional in the cc file.

https://codereview.appspot.com/561390043/diff/557260051/lily/score-engraver.cc
File lily/score-engraver.cc (right):

https://codereview.appspot.com/561390043/diff/557260051/lily/score-engraver.cc#newcode174
lily/score-engraver.cc:174: #include <gc.h>
It would be better to move this to the top, or if there is a reason it
can't be moved to the top, to comment.  Includes in the middle of a file
can frustrate maintainers on occasion when someone uses a namespace or
defines file-scope things before them that conflict with what's in them.

https://codereview.appspot.com/561390043/diff/557260051/lily/score-engraver.cc#newcode199
lily/score-engraver.cc:199: if (reclaimed < 0.2) {
TODO (?) make this threshold configurable

https://codereview.appspot.com/561390043/

Reply via email to