[Webkit-unassigned] [Bug 34548] audio engine: add Vector3 class

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 4 17:37:06 PST 2010


--- Comment #16 from Darin Adler <darin at apple.com>  2010-02-04 17:37:03 PST ---
(In reply to comment #14)
> Thanks Darin, addressed all of your last issues except the first one, since
> abs() calls sqrt() it's actually *less* efficient than calling isZero()

I think you're missing my point.

If isZero is true, then abs is less efficient, but in the normal case where
isZero turns out to be false, just checking the result of abs is more
efficient. I was not trying to optimize the zero case.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list