A Tuesday 26 October 2010 10:20:00 David Briant escrigué:
> I'd like to have all the attributes in memory (because I assume they
> are small and I need to search them a lot) but have the data in the
> tables paged in and out of memory as I need it.
> 
> Is that a realistic expectation?

Yes, that may be realistic as the number of tables in your file is not 
high (160).  My recommendation then is to set `NODE_CACHE_SLOTS` to a 
negative value (say -512).  This way the cache will behave as a 
dictionary (i.e. you don't need to implement your own), which is the 
fastest operation mode for the node cache.

-- 
Francesc Alted

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to