|
-
Sep 13th, 2002, 10:42 AM
#15
Monday Morning Lunatic
Originally posted by jim mcnamara
Parksie -
don't you try to inline, jam, etc, your core code? ie., optimize the living doo-doo out of your code? Especially the core code - primitives? We clock() on everything because the stuff gets called hundreds of millions of times a day. Literally. 5% gets you five minutes.
Yeah, I do. We have to do about 100 calculations per finite element, of which some meshes have a few hundred thousand.
I did some *really* horrible-looking parser code a few days ago, but it sped it up from 6 hours to about 40 seconds.
There's nothing wrong with optimising. Just don't do it too early. Get it working first!
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|