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.
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
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.
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.
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.