ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 05 Feb 2018 19:03:25 -0600It takes so long to generate dictionary of GL elements.http://ask.sagemath.org/question/40987/it-takes-so-long-to-generate-dictionary-of-gl-elements/The following command
GL4dicthash={hash(g):None for g in GL(4,2)}
takes 9 seconds to execute. On the other hand
GL4dict={g:None for g in GL(4,2)}
takes minutes and does not seem to terminate.
If I understand python dictionary correctly, they should take about the same time. So what happened?
Symbol 1Mon, 05 Feb 2018 19:03:25 -0600http://ask.sagemath.org/question/40987/