|
|
I noticed that some of the functions are even faster for small sizes, how is that possible?Submitted by markos on Sun, 01/20/2008 - 19:18.
Well, for certain AltiVec is not used in these cases. Most probably the original algorithm was quite dumb (ie. not optimized). When I was writing the replacement functions, I always had in mind that they have to be equally fast, if not faster, to the originals, for small sizes. It would look bad if a program that uses memcpy(), but only on smaller sizes, became slower for that reason. I tried to achieve this as much as possible, though I might have missed something. That's why user and developer feedback is so important, so send them patches :-)
( categories: )
|
SIMDUser login |