13 Sep
2005
13 Sep
'05
6:42 a.m.
(zope3-dev trimmed) Hi Tres, Tres Seaver wrote:
On further consideration (and after some more profiling), I would actually prefer inlining the speedup code directly into OFS.Traversable.Traversable, to remove the extra function call as well as to avoid the gnarliness of monkey-patching Python.
Fair enough :-)
An alternative would be to call 'quote' only once (for the completed string), rather than repeatedly (for each path element).
Wouldn't that then encode all the /'es? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk