On Sun, Sep 1, 2024 at 7:38 AM Georgi Guninski <ggunin...@gmail.com> wrote:
>
> >As well, with cypari, a call to pari.getheap() adds 1 object there, a
> bug, I guess.
> >(this does not happen with cypari2)
> >In [14]: pari.getheap()
> >Out[14]: [3300004, 163655741]
> >In [15]: pari.getheap()
> >Out[15]: [3300005, 163655758]
>
> I can't reproduce this on 10.4:
>
> sage: s=pari.getheap()
> sage: for m in range(10^6):  e=pari.getheap()
> sage: s,e
> ([5, 77], [13, 207])

you need to put the elliptic curve commands into the loop!
They leave a lot of garbage on Pari's heap.
The getheap call itself does not leave garbage in Sage, as it uses
cypari2, and not cypari.






>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/CAGUWgD_vLtzkRrEELcWkd%3DjxZbdrpxCty93tKOemjMPx929gvg%40mail.gmail.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq20JhmMxv4skS4xd5N6VX5FAuhNXw%2BNpVTEjghnphb1KA%40mail.gmail.com.

Reply via email to