[google-appengine] Re: Python optimization: One Larger or Many Small Modules

2010-05-27 Thread Stephen
On May 23, 5:26 pm, djidjadji djidja...@gmail.com wrote: If I look at the files on the GAE server that are new there is a directory added '/_ah/python_bytecode' in this directory there are for me just 2 pyc files. It is compiling all of my python files... -- You received this message

[google-appengine] Re: Python optimization: One Larger or Many Small Modules

2010-05-23 Thread Stephen
On May 19, 9:23 pm, stevep prosse...@gmail.com wrote: Hopefully there is only a fractional time cost for GAE to load the larger code base module if it loads the .pyc version. If so, I would prefer to stay with the two large modules. Add the following to your app.yaml file:

[google-appengine] Re: Python optimization: One Larger or Many Small Modules

2010-05-23 Thread Tim Hoffman
Any pointers to some docs on this directive ? T On May 23, 6:46 pm, Stephen sdea...@gmail.com wrote: On May 19, 9:23 pm, stevep prosse...@gmail.com wrote: Hopefully there is only a fractional time cost for GAE to load the larger code base module if it loads the .pyc version. If so, I

Re: [google-appengine] Re: Python optimization: One Larger or Many Small Modules

2010-05-23 Thread djidjadji
I don't think the SDK will ever upload pyc files. It could be handcrafted to do some non-pythonic things. I looked at the code for appcfg.py and it does processes this directive. I does the precompilation by sending a '/api/appversion/precompile' command to the server. I have enabled it for a

[google-appengine] Re: Python optimization: One Larger or Many Small Modules

2010-05-20 Thread Geoffrey Spear
On May 19, 4:23 pm, stevep prosse...@gmail.com wrote: First time post to the forums, so please forgive any newbie issues. I am currently developing an GAE application. Client accesses two main GAE handler scripts using different urls such as:  http://localhost:8080/1000-- for function 1000