On Mon, Oct 8, 2018 at 1:07 PM Jeroen Demeyer <[email protected]> wrote: > > On 2018-10-08 13:19, Thierry Dumont wrote: > > So my list should use less than 1gb, if it phi was a C array. > > But it's not a C array. There is overhead for Python garbage collection, > the Sage parent, the Cython virtual method table...
and the Python type code (1 byte), too... > > If you really want a C array, use array.array or numpy. Can you use array.array on anything that's not a primitive Python type? > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
