Hi Simon, could you please give us access to the file (or a sample of it), so that we understand how it looke like ?
Ciao, Thierry On Sat, Sep 16, 2017 at 09:13:38AM +0000, Simon King wrote: > Hi! > > I have a large file (2.7*10^6 lines, 204.5*10^6 bytes) of code > that defines a python dict, some dict values are matrices > of dimension roughly 800x1200 over GF(8), some dict values are > other dicts. > > Problem: When I try to load the file with sage.repl.load.load, > my laptop very soon starts swapping. > > The data file is a Python readable translation of a libgap > readable data file. libgap only needs 30 seconds to read the > corresponding data. Thus, it *is* possible to read the data in > reasonable time. > > Is there a faster way to read and evaluate a large python code > block than sage.repl.load.load? > > Best regards, > Simon > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.