Andrew Hedges wrote:
Is there a difference in the efficiency of a function as a "Script
(Python)" Zope object versus an External Method? The use case is that I
need to run a fairly simple function (an implementation of the
Levenshtein distance algorithm) over a result set in the range of 30-40k
records. Are the two implementations close enough that I should just
not worry about it or would you expect I would see a significant
difference between the two?
Go for an external method. Python scripts have a lot of security
checking which will slow you down...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )