Karim Belabas on Sat, 07 Mar 2026 16:00:13 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Phantastic performance of writebin()+read() for very large t_VEC


* hermann@stamm-wilbrandt.de [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/