[mod_python] Re: Re: Re: any way to get the current handler's directory?

vegetax vegeta.z at gmail.com
Sun May 1 08:23:23 EDT 2005


Graham Dumpleton wrote:

> 
> On 01/05/2005, at 4:29 PM, vegetax wrote:
> 
>> Basically is a version of publisher handler,targeted to a specific
>> webframework,the publisher handler is sloww cause it tries to be
>> everything,too generic, my handler will just serve .py scripts and
>> thats
>> all, is not meant to serve several resources,or work with user_dir or
>> have
>> subdirectories, since subdirectories will be mapped to python packages
>> by
>> the handler.
>> I am obsessed about making it fast, so thats why i wanted to get that
>> info
>> in one step instead of two.
> 
> Do you actually have any hard data to support your claim that publisher
> is too slow?

Dont have data, i just need to make my own publisher that integrates with my
framework, so i saw the code and it has a lot of processing for a
connectivity handler,maybe what i meant is that it is slow compared to my
publisher =),since mine is very specialized.
When mine is finished i'll let you know about the benchmarks.
I agree that premature optimizations are root of all evil.





More information about the Mod_python mailing list