Do not assume that RTTI will have more / less overhead than your solution before you test it .
You must try both solutions and measure performance to get a reliable answer.
, -, "" , . , , dynamic_cast<> ( , ).
, dynamic_cast<> , .
: , "" , dynamic_cast<>.