It seems that Qian wants to revive the Storage line.
If that happens and there is an easy command like

)set message storage on/off

then this will have an effect on jFriCAS.

If you currently say

)lisp (setf |$printStorageIfTrue| T)

then you only get

Storage: 0 (IN) + 0 (EV) + 0 (OT) + 0 (GC) = 0 bytes

That looked like no information at all.

When I programmed it I needed a way to reliably extract the output counter from the output. So I switch on $printStorageIfTrue every time something is sent from the webinterface to FriCAS.

The Storage line that comes back in the output is actually ignored, but it comes with markers and from them the output counter is extracted. I cannot extract them from the "Time: " or "Type: " line, since a user might have switched that off.

In other words,

(1) jFriCAS relies on the existence of that Storage line (content
    uniportant)
(2) jFriCAS cannot currently show such a storage line.

Both can, of course, be relaxed if there is a separate reliable way to extract the step number from the output of FriCAS. Note that this is not that easy in the frame of ")set output FORMATTER off", i.e. it must be output that is independent of our formatters.

That's just a side remark and nothing to really worry about.

Ralf


On 21.10.23 22:37, Waldek Hebisch wrote:
On Sun, Oct 15, 2023 at 09:25:05PM +0800, Qian Yun wrote:
More Lisps are supported:

I tried to combine and apply both patches, but after that
I get:

integrate((f*x+e)^3*csc(d*x+c)/(a+b*sin(d*x+c)),x)
<snipped result>
                                          Type: Union(Expression(Integer),...)
                          Storage: 0 (IN) + 0 (EV) + 0 (OT) + 0 (GC) = 0 bytes

After

)set messages time on

I get usual time display, but still 0-s in storage report.  AFAICS

)boot HEAPELAPSED()

reports increasing values.  This is with Debian sbcl 1.3.14.


--
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 on the web visit 
https://groups.google.com/d/msgid/fricas-devel/e40a261e-892c-439d-ba98-2b0ebe0bab30%40hemmecke.org.

Reply via email to