durusmail: quixote-users: ANN: Quixote 0.6beta1 released
ANN: Quixote 0.6beta1 released
2003-01-09
2003-01-09
2003-01-09
2003-01-09
2003-01-09
2003-01-10
2003-01-13
2003-01-13
2003-01-13
2003-01-13
ANN: Quixote 0.6beta1 released
Andrew Kuchling
2003-01-09
On Thu, Jan 09, 2003 at 11:22:05AM -0800, Mike Watkins wrote:
>Does the change in results seem reasonable given the changes in this release?

Maybe.  The automatic HTML-escaping means that explicit calls such as
'html_quote(string1) + string2' become just string1+string2.

That saves a global name lookup of 'html_quote', a Python function
call, plus all of the work that html_quote() does internally.  It's
replaced with (I think) a single call to the Python VM's ADD opcode
and the cost of calling the C htmltext type's add function.

I'm surprised the improvement is so great -- the widget examples more
than doubled in speed -- but I suppose Quixote apps must spend a lot
of their time slinging strings.

Thanks for your benchmarking!

--amk                                                    (www.amk.ca)
DEMETRIUS: It is the wittiest partition that ever I heard discourse, my lord.
      -- _A Midsummer Night's Dream_, V, i

reply