[google-appengine] Re: marshal.load()

2008-12-08 Thread Marzia Niccolai
Hi, Also, the issue of marshal not being empty on the dev_appserver has be filed: http://code.google.com/p/googleappengine/issues/detail?id=892 -Marzia On Mon, Dec 8, 2008 at 1:55 AM, Bill <[EMAIL PROTECTED]> wrote: > > If this is some fixed data that needs to be searched almost every > request

[google-appengine] Re: marshal.load()

2008-12-08 Thread Bill
If this is some fixed data that needs to be searched almost every request, how about breaking it into a lot of chunks (e.g., if it's words, you could have 26 dicts, one for each starting letter) and hard- coding it as a python variable declarations in static files -- one dict per file. That would

[google-appengine] Re: marshal.load()

2008-12-07 Thread Greg
I haven't tried using memcache for anything this large, but it could solve your problem. You'd need to check if it existed in memcache and reload it if not, but it should drastically reduce the number of times you have to un-pickle it. Cheers! Greg. On Dec 8, 7:10 am, adrian <[EMAIL PROTECTED]>