Not logged in, Join Here! or Log In Below:  
News Articles Search    

 Home / General Programming / Is Run-Time-Typeinfo for game expensive? Account Manager
Archive Notice: This thread is old and no longer active. It is here for reference purposes. This thread was created on an older version of the flipcode forums, before the site closed in 2005. Please keep that in mind as you view this thread, as many of the topics and opinions may be outdated.

February 24, 2005, 02:19 PM

turn on run time type info /GR (im using vc71) for making a clone class factory is very convenient, anyway i have no experience for making game with RTT on before, so im wondering will RTT be overkill for a real-time game? because this may cause every class to register its type info at rum time (not sure for those non-virtual class though).

Victor Widell

February 24, 2005, 07:12 PM

"will RTT be overkill for a real-time game?"

This obviously depends on how you use it. I would not reccomend you to RTTI a few billion objects per frame, but some hundred should be just fine.

This thread contains 2 messages.
Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.