 |
 |
10.1.2 sqrt() - Now 6 times faster
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Dec 2001
Status:
Offline
|
|
The 10.1.2 update finally has a math library written in assmebler.
I timed sqrt() to be six times faster than 10.0 - 10.1.1. Now it is the same speed (or slightly faster) than 9.2.2.
Yeah ;->
This will speed up rendering programs, etc. You don't have to link to LibMoto to gain speed anymore!
--Tom
|
|
Hey
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Oct 2000
Status:
Offline
|
|
Cool! Do you know if the source code is available? It would help me a lot because I'm writing a compiler and don't want to reinvent everything
-- Daniel
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Sep 2000
Location: Cupertino, CA
Status:
Offline
|
|
Originally posted by danengel:
<STRONG>Cool! Do you know if the source code is available? It would help me a lot because I'm writing a compiler and don't want to reinvent everything
-- Daniel</STRONG>
I don't believe so, but you shouldn't need it anyway. You don't want to staticly link in such functions, if you want to have any hope of running on Mac OS X across versions and making any system calls your going to need to be able to dynamic link anyway.
Louis
|
|
Louis Gerbarg
Darwin Developer
These are my views, and not the views of my employer.
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Oct 2000
Status:
Offline
|
|
I don't believe so, but you shouldn't need it anyway. You don't want to staticly link in such functions, if you want to have any hope of running on Mac OS X across versions and making any system calls your going to need to be able to dynamic link anyway.
I'm just interested in how the pro's write code, so I could learn something. I love writing assembly and working out the fastest way to do something.
|
|
|
| |
|
|
|
 |
|
 |
|
Admin Emeritus 
Join Date: Oct 2000
Location: Boston, MA
Status:
Offline
|
|
Originally posted by danengel:
<STRONG>
I'm just interested in how the pro's write code, so I could learn something. I love writing assembly and working out the fastest way to do something.</STRONG>
Same here. 6 times faster is quite a jump. ;-)
|
|
"Against stupidity, the gods themselves contend in vain" (Schiller)
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2000
Location: Paris, France
Status:
Offline
|
|
Louis, is the 6x figure accurate? What kind of operations in common-use will be accelerated by the new math lib? For instance could the less-than-stellar CPU usage of iTunes be due in part to the old math lib?
|
|
Soyons Réalistes, Demandons l'impossible
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |