On Mon, Apr 14, 2014 at 6:15 PM, Skip Montanaro <s...@pobox.com> wrote:
> On Mon, Apr 14, 2014 at 4:51 PM, Brett Cannon <bcan...@gmail.com> wrote: > > Thoughts? > > Interesting idea, but YAGNI? > Not at all. Think of every script you execute that's written in Python. One of the things the Mercurial folks say is hindering any motivation to switch to Python 3 is the startup performance. > > In my work environment (Python 2.7.2, all the heavy lifting done in > C++), startup costs are dominated by dynamic linking of all our C++ > libraries and their Boost wrappers: > Sure, but not everyone uses Boost or has long running processes where startup time is minuscule compared to the total execution time. -Brett > > % time python -c 'import tradelink.snake.v11_2 ; raise SystemExit' > > real 0m0.671s > user 0m0.405s > sys 0m0.044s > > % time python -c 'raise SystemExit' > > real 0m0.022s > user 0m0.011s > sys 0m0.009s > > Skip >
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com