On Sun, Dec 6, 2009 at 8:56 AM, Graham Higgins <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On 6 Dec 2009, at 16:07, andres wrote: > >> it seems like an unnecessary startup cost > > > A purely personal perspective: > > I don't wish to appear discouraging but Pylons is not yet at 1.0 and I > wouldn't want to see the dev team pressured to make optimizations > which might later prove to be premature.
Actually, a solution is already built in. More than half the Pylons code and Routes code is backward compatibility for deprecated features, and will be jettisoned in 1.0. The plan is to release 0.10 and 1.0 simultaneously, with 0.10 containing the compatibility code and 1.0 not. (Possibly 1.0 might not be ready by 0.10, but last I heard it was going to be.) Of course, much of the "Pylons" code is in the dependencies, which we don't have direct control over. But a quick summary of my package directories shows Pylons at 632 KB (excluding the docs directory), and the largest dependency being Paste at 3.6 MB. Python does have a significant amount of overhead loading the standard libraries at startup. This has been noted a few times over the years, but there's nothing we can do about it. But the Python developers are moving from a feature phase to an optimization phase, so this may be addressed in the next year or two. -- Mike Orr <[email protected]> -- 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.
