On Saturday 20 August 2011 17:04:46 Gabriel Beddingfield wrote:
> DISADVANTAGE: Using dynamic_cast<> uses RTTI and can have a performance
> penalty... but guards against programming mistakes (throwing an
> exception if cast is invalid). Switch to reinterpret_cast<> if speed is
> a problem.
This performance penalty might hit you when you do one such message for every
sample of audio, it will have no practical effect when its just the user
interface signaling other parts of the app.
Have fun,
Arnold
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
This archive was generated by hypermail 2.1.8 : Sun Aug 21 2011 - 16:15:04 EEST