On 5/16/26 9:29 PM, Waldek Hebisch wrote: > On Sat, May 16, 2026 at 09:14:15PM +0800, Qian Yun wrote: >> If you do something like "sin(x) pretend SExpression", >> it will take a long time. >> >> This is useful during debugging. >> >> After this patch, the output is still unreadable, but much faster. > > I admit that I find Lisp level printouts of some kinds of FriCAS > data useless. Basically, this is when types are part of data > structure (in particular representation of functions typically > contains type). It is not clear to me if speeding up such > useless printouts is worthwile. OTOH without '*print-pretty*' > even otherwise simple printouts are much harder to read. >
Speedup this printout of Kernel is to ease the pain during debugging EXPR. We can get much more compact printout, if we only print the name of "operator" instead of its full property list. But this will break write!$File. (See src/input/files.input, write a EXPR into a file and read it back.) (BTW, is this serialization/de-serialization process reliable for EXPR?) How about setting a Lisp variable in File domain, and if the Kernel's :print-function detects that, print full version; otherwise print the short version. - Qian -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/fricas-devel/237e1b00-2319-444d-a120-5a32c80a081b%40gmail.com.
