benefits of 'dynamic cpu' setting?

Everything else that doesn't fall into one of the other PB categories.
User avatar
aszid
Enthusiast
Enthusiast
Posts: 162
Joined: Thu May 01, 2003 8:38 pm
Location: California, USA
Contact:

benefits of 'dynamic cpu' setting?

Post by aszid »

well, i looked it up in the forums to find out what it does, but the only post i saw about it didn't really have much information. all it told me is that it includes all libs, and chooses the best on run-time... but it never mentioned what libs are optimized.

i would just like to know which ones are optimized, i'm working on a high-load server program, and i think any extra speed i can pull out of it would be very beneficial to my project. but i don't know if this would even help it at all....

it would also be nice if future versions of the manual had a '*' or something similar next to each command that had optimizations, and also perhaps a quick explanation to the setting would be usefull to beginers as well, i was unable to find any mention of the setting in the manual myself.. so either it's not there... or it's not easy to find.

thanks in advance
--Aszid--

Making crazy people sane, starting tomorrow.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

...but it never mentioned what libs are optimized.
i dont think any are yet :(
--Kale

Image
User avatar
aszid
Enthusiast
Enthusiast
Posts: 162
Joined: Thu May 01, 2003 8:38 pm
Location: California, USA
Contact:

Post by aszid »

hmm... i just did a little test...

i compiled one of my programs with the dynamic cpu option, as well as the all cpu option... and the one compiled with dynamic was about 1.5k larger than the other one... so it must be including something new....

well, either that or it's just wishfull thinking.


*edit*
i just tried it with a different one of my sources, and the filesize was exactly the same.... (it was the server program i was originally hoping to optimize better)
so it seems like perhaps some commands do have optimized versions, and most don't...
hmmmmmmmmm....
*end of edit*
--Aszid--

Making crazy people sane, starting tomorrow.
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Actually, no commands are optimized, but the framework is here.
User avatar
aszid
Enthusiast
Enthusiast
Posts: 162
Joined: Thu May 01, 2003 8:38 pm
Location: California, USA
Contact:

Post by aszid »

bummer... but hey, ya gotta save some stuff for future versions, i for one wouldn't want to mess with your priorities. i very much like new commands and such in each version, that way there's more stuff to play with ^^

*edited for typo*
--Aszid--

Making crazy people sane, starting tomorrow.
Post Reply