Page 3 of 6

Posted: Sun May 21, 2006 12:28 pm
by josku_x
va!n wrote:@remi_meier:
10 points for your great tool! I like your work and this tool! :D
Its cool to see you are inspired by the video i send you 8)
Do you mean the one with the hot babe with the big boobs? :lol:

Anyway, remi_meier, thanks for this tool! Now Isee that I made 2 senseless optimizations. :o

Posted: Sun May 21, 2006 12:32 pm
by thefool
@rob6523

First of all, he SAID it was updated for 4.0!!!
Second; Why don't you look in the zip file the source is there and have always been!

Posted: Sun May 21, 2006 1:06 pm
by rob6523
@thefool

If you're talking about ANALYZER, yes, correct.

But I was talking about OPTIMIZER, a different tool from remi_meier, which doesn't include the sources and which doesn't run with PB4

Rob.

Posted: Sun May 21, 2006 1:13 pm
by thefool
whoops :oops:
sorry i didn't read your post good enough..

Posted: Mon May 22, 2006 3:01 pm
by remi_meier
Actually the source seems to be included as "Optimizer.pb" in the zip of
the purearea.net showcase :?:

But I don't see a really big need for it anymore in PB4. The cutting-out
unneeded procedures wont work and wont be needed. The optimization
with the %-operator is included in PB4. I think the most interesting feature
is the faster multiplication of constant values.

greetz
Remi

Posted: Mon May 22, 2006 4:58 pm
by rob6523
@remi_meier

Unfortunately optimizer.pb isn't included in the purearea.net showcase download.

Would you be willing to release it to us?

Thanks,

Rob.

Posted: Mon May 22, 2006 5:18 pm
by tomijan
remi_meier wrote: The optimization
with the %-operator is included in PB4
what you mean about this? is that modulo operator?
tom

Posted: Mon May 22, 2006 5:21 pm
by remi_meier
@rob6523
I don't know which link you used, but I see "Optimizer.pb" in the zip from
http://mypage.bluewin.ch/remimeier/zip/Optimierer.zip

@tomijan
Yep, modulo. Optimization of expressions like "a % 32", all "a % 2^n"
should be optimized by PB now.

Posted: Mon May 22, 2006 6:40 pm
by rob6523
@remi_meier

Optimizer.pb wasn't in the CodeArchiv_2.0-Preview.zip I today downloaded.

Thanks for the link!

Posted: Fri Aug 11, 2006 5:07 pm
by newbie
Very usefull tool, I was looking at something to check where was my bottlenecks in my code, and your tool is amazing, thank you very much for sharing your work :D

Posted: Fri Aug 11, 2006 9:41 pm
by Inf0Byt3
Amen brother! Thousand thanks Remi !

Posted: Fri Aug 11, 2006 9:54 pm
by Num3
Analyser just does nothing on my side... Just freezes the code until i kill it :(

Optimizer on the other hand works well!

Posted: Fri Aug 11, 2006 10:09 pm
by remi_meier
Thx @all!

Num3: Is there some test code you could send me? Anyway, I will take a look
again at the code because it was written in the early days of PB4 and now
I know the features a bit better.

Posted: Sat Aug 12, 2006 12:48 am
by mskuma
remi_meier, thanks for this! Very nice. :D

JFYI I've noticed there seems to be an issue if the source file being analysed is in UTF-8. Running Analyzer with a UTF-8 source, I get a PureBasic dialog stating "Line 178: Syntax error!". Your Analyzer "started" dialog is never seen.

The program I was tested as the simplest example to show the problem:

Debug "hello"

reverting the source code format to 'plain text' made this dialog go away. It also happens with longer code.

Posted: Sat Aug 12, 2006 2:14 pm
by remi_meier
Jep, that was it. Didn't test it because I have not too much time at the
moment, but this should be fixed now!
Thanks for the information! It should read now he BOM header and write
back in UTF-8, ASCII or Unicode, like the file to compile.

http://mypage.bluewin.ch/remimeier/zip/analyzer.zip