[Zope-CMF] sluggish images in CMF?

Chris Withers chris at simplistix.co.uk
Wed Jan 12 08:32:19 EST 2005


Dieter Maurer wrote:
>>>>Are there any open collector issues for this?
>>>
>>>Unless you (or someone else) closed it inadequately!
>>
>>Well maybe you could be so good as to give me a link to it, or even just 
>>the issue number would be fine? ;-)
> 
> You already know: I never search for others...

Fine, well, I won't both looking into it then...

>>As I said, in 1.5 there only 
>>appears to be one platform dependent path. That does involve a 
>>path.walk, but there's a very clear comment just above that explainign 
>>why it's there.
> 
> The cause for the slowness is the "badOS=os.name=='nt'"
> in ".../CMFCore/DirectoryView.py".

...well, none of that is in the DirectoryView.py that comes with CMF 
1.5, so I can't really comment.

> I doubt that the comment (yes, there is one) truely reflects
> what Windows does.

What does the comment say?

> But even when I were wrong (and the comment true),
> there is no need to walk the complete
> tree; checking just the content of the current directory (with "os.listdir")
> (without sub-directories!) would be sufficient!

Maybe, I'd be interested in having a look at this... if only I had a 
collector issue to go back to ;-)

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope-CMF mailing list