Tycon wrote: > Benchmarks indicate it is taking as much as 20% of request handling > time (not including the user action). > So, taking into account that 96.7% of the time of a request is inside "the user action"(empirically proved by the extensive benchmarks I've made which Im not going to publish), then setting up the registry takes < than 1% of the total time. Not too bad IMHO. > The question is why is it even necessary to use this "registry" > facility ? > So several apps can cohabitate the same process. > Similarly, other request handling operations such as creating the > request object may also be redundant, because the user may not be > interested in all the attributes of the request object. So wouldn't it > be better to provide those things on-demand (that is using a call > interface to get things such as params, etc) instead of creating all > that stuff by default even when it may not be needed ? Have you taken the time to study what webob.Request exactly does? I guess not since it actually *does* lazy load all attributes on demand. You're not penalized for attributes you don't access.
Alberto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
