Re: playout garbled in iPhone 3.x Release build (solved)
Re: playout garbled in iPhone 3.x Release build (solved)
- Subject: Re: playout garbled in iPhone 3.x Release build (solved)
- From: Tim <email@hidden>
- Date: Mon, 03 May 2010 10:28:55 -0700
So your implementation works for GCC; what about for the other
compilers you use to target your other platforms?
The original implementation has worked fine on other platforms (and on
iPhone up until 3.x). But, I see now that the signed declaration is a
time-bomb waiting to explode.
Have you compared the optimizer's results to your own methods? Have
you considered, since you will perhaps need to account for
implementation differences, writing the assembly yourself and avoiding
the whole issue?
No, this was code I had not planned on touching. I was just trying to
make a more general point. With the rapid increase in CPU speeds we
have seen over the last 20 years it is common to encourage more
abstraction without regard to performance. I don't disagree with that
in theory, as better abstractions will let other people build the tools
that better optimize performance. But, it can go too far. E.g.,
today's www can be a painful experience on a desktop machine that is
more than ~5 years old, and today's mobile devices have capabilities
similar to what we saw on the desktop in the mid 90's. And, even as
the mobile processors get faster each year we will always be up against
power consumption. So, I don't plan on changing my general performance
orientation, even if it is sometimes misallocated effort. I have
likewise seen misallocated effort and bugs created by too much focus on
code abstraction and generality.
Tim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden