[yt-dev] Pre-YTEP: remove caching of datasets
    John Wise 
    jwise at physics.gatech.edu
       
    Fri Sep 25 14:05:15 PDT 2015
    
    
  
+1
John
On 09/25/2015 01:55 PM, Matthew Turk wrote:
> Hi all,
>
> Before I get too far into writing up a YTEP, I wanted to know if
> anyone would object to disabling "caching" of datasets in-memory.
>
> Right now, if you do:
>
> ds1 = yt.load("something")
> ds2 = yt.load("something")
>
> "ds1 is ds2" will return True; this was done so that you could load a
> dataset, then unpickle an object with a reference to that dataset, and
> get the dataset back rather than a newly-loaded one.  But I think a)
> folks don't pickle much b) it causes a lot of problems.  So I'm
> wondering if it would be okay to just turn this off.
>
> -Matt
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
-- 
John Wise
Assistant Professor of Physics
Center for Relativistic Astrophysics, Georgia Tech
http://cosmo.gatech.edu
    
    
More information about the yt-dev
mailing list