Re: Phantastic performance of writebin()+read() for very large t_VEC
Karim Belabas <[email protected]> Sat, 7 Mar 2026 16:00:09 +0100
| Newsgroups | gmane.comp.mathematics.pari.user |
|---|---|
| Message-ID | <[email protected]> |
* [email protected] [2026-03-07 14:48]: [...] > So I cannot read it on my fast AMD 7950X PC with 32GB RAM. Anyway > phantastic! > > ? b=read("carm10e24.bin"); [...] A trick (which may or may not help here) to reduce memory use by a factor 2 or so. The above saves the result twice in memory: in b as explicitly intended ... and in gp's history. ? b=read("carm10e24.bin"); 0 \\ for instance only saves 0 in history, not the full b. Cheers, K.B. -- Pr. Karim Belabas, U. Bordeaux, Vice-président en charge du Numérique Institut de Mathématiques de Bordeaux UMR 5251 - (+33) 05 40 00 29 77 http://www.math.u-bordeaux.fr/~kbelabas/