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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Linux-audio-dev mailing list
[email protected]
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Reply via email to