#72 Reduce compile time & debug symbols size by getting rid of compile-time polymorphism

Nyitott
megnyitva ekkor: 6 éve caryoscelus által · 0 hozzászólás
caryoscelus hozzászólt 6 éve

Template nodes are too heavy, slowing down compile times and inflating debug symbols size (~170M for libnodes.so). This can be reduced by replacing static polymorphism with dynamic, which we already have anyway.

There are two possible issues, though:

  • any use of dynamic casts to BaseValue will have to be replaced with type checks
  • possible performance downsides (current measurements don't show it, but they aren't accurate enough to be sure)
Template nodes are too heavy, slowing down compile times and inflating debug symbols size (~170M for libnodes.so). This can be reduced by replacing static polymorphism with dynamic, which we already have anyway. There are two possible issues, though: - any use of dynamic casts to BaseValue will have to be replaced with type checks - possible performance downsides (current measurements don't show it, but they aren't accurate enough to be sure)
Jelentkezzen be hogy csatlakozhasson a beszélgetéshez.
Töltés...
Mégse
Mentés
Még nincs tartalom.