Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > 10.1.2 sqrt() - Now 6 times faster

10.1.2 sqrt() - Now 6 times faster
Thread Tools
Fresh-Faced Recruit
Join Date: Dec 2001
Status: Offline
Reply With Quote
Dec 22, 2001, 10:42 AM
 
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
Reply With Quote
Dec 23, 2001, 02:31 PM
 
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
Reply With Quote
Dec 23, 2001, 04:06 PM
 
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
Reply With Quote
Dec 26, 2001, 01:13 AM
 
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
Reply With Quote
Dec 26, 2001, 08:46 AM
 
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)
     
SYN
Senior User
Join Date: Oct 2000
Location: Paris, France
Status: Offline
Reply With Quote
Dec 26, 2001, 10:43 AM
 
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
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:09 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2