On Sep 19, 6:25 pm, "David Harvey" <dmhar...@cims.nyu.edu> wrote: > Consider the following script, which saves a p-adic matrix and then > repeatedly loads it into a list:
The same thing happens on sage 4.5.2 on mac OS. I also tried using a different ring, i.e. with K = Integers(13^10) M = Matrix(K, [[K.random_element() for j in range(200)] for k in range(200)]) M.save("thing.sobj") The same thing apparently happens, not quite as obvious but still there: took 1.08 seconds took 1.08 seconds took 1.01 seconds took 1.11 seconds took 1.01 seconds took 1.14 seconds took 1.01 seconds took 1.01 seconds took 1.14 seconds took 1.01 seconds took 1.16 seconds took 1.01 seconds took 1.17 seconds took 1.02 seconds took 1.02 seconds took 1.19 seconds took 1.02 seconds took 1.20 seconds took 1.02 seconds took 1.22 seconds took 1.02 seconds took 1.02 seconds took 1.24 seconds took 1.01 seconds took 1.25 seconds took 1.01 seconds took 1.26 seconds took 1.02 seconds took 1.02 seconds took 1.28 seconds took 1.03 seconds took 1.29 seconds took 1.03 seconds took 1.31 seconds took 1.02 seconds took 1.02 seconds took 1.32 seconds took 1.02 seconds took 1.34 seconds took 1.02 seconds For matrices over ZZ it doesn't seem to happen though. This suggests it is a bug in the generic matrix load() code. david -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org