[Zope] Re: How to create a global variable?
Tres Seaver
tseaver at palladion.com
Thu Feb 22 07:36:32 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
jerome prudent wrote:
> Hi!
> I've a python script which creates a dictionnary each time it's called. This
> dictionnary is always the same. I would increase the performance if I could
> generate and cache the dictionnary once, then reuse it. I'm looking for a
> space like REQUEST.SESSION that is the same for each user of my website
> (other solutions are welcome).
>
> Do you know how to do that?
> Thank you.
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/ZopeServices.stx#2-28
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF3Y5Q+gerLs4ltQ4RAp1aAKDQovh4Kw6k8rDsuZSfXVGerzQadQCdGv5t
xf7N1mTtG0CIU59Y193DXuw=
=/rpy
-----END PGP SIGNATURE-----
More information about the Zope
mailing list