Maybe put it in a module and import it.

On Saturday, July 26, 2014 2:59:55 AM UTC-4, lucas wrote:
>
> hello one and all,
>
> i need a little advice.  i have a rather large table that i use to lookup 
> hard unchangeable values.  essentially is a big list of smaller lists.
>
> i know that each user has his/hers own session and that this lookup list 
> is probably opened and stored multiple times, one for each user.
>
> in the interest of efficiency and lower memory usage, how can i create a 
> single variable that loads a single instance of this list of lists that all 
> users and all sessions use?
>
> thanx in advance and have a great day.  lucas 
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to