Post Reply 
Proximodo CPU Efficency
Nov. 28, 2004, 11:04 AM
Post: #2
 
Try this:

\1=$AV(\1)&&\1=$AV(\1zzz\1)

Pretty useless as is, but I used this pattern to tune \1 and $AV for performance. Result: Proximodo scans pages for than pattern more than twice faster than Proxomitron! What I mean is, it takes some effort to reach performance, but it works. I did it on certain pieces of code, I didn't yet on much of it, but I will.

I am glad Proximodo is no slower than reasonable in its first version Smile! Believe me, first versions of Proxomitron were WAYYYY slower than 4.5 Naoko, and that's normal: good development process is
1. write clean code
2. optimize it (only were it needs it)

"Premature optimization is the root of all evil" -- Car Hoare

Btw, give a try to 0.2, I didn't optimize it further yet but I removed bugs that could have explained the CPU consumption. If you still have that kind of speed pb, try determining which of your filters slows down the most and I'll do some speed tuning based on it.

Kuruden
Visit this user's website
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
[] - Guest - Nov. 28, 2004, 07:22 AM
[] - kuruden - Nov. 28, 2004 11:04 AM
[] - mozerd - Nov. 28, 2004, 09:21 PM
[] - atom - Dec. 01, 2004, 03:01 AM

Forum Jump: