[LAD] Integer performance

Will Godfrey willgodfrey at musically.me.uk
Sat May 2 18:10:55 UTC 2015


Just a curious thought...

If you are using only small values is there really any benefit in using chars
and shorts rather than just using integers everywhere and letting the compiler
sort it out?

Also, would bool actually have an extra cost due to masking needs?

Obviously large blocks of data are a different issue!

-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.


More information about the Linux-audio-dev mailing list