bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Can't break out of the middle on a display operation


From: Juergen Sauermann
Subject: Re: [Bug-apl] Can't break out of the middle on a display operation
Date: Sat, 02 Aug 2014 18:27:52 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Blake,

good. The double ^C is on purpose to avoid accidentally hitting ^C.

Its actually two ^C within 500 ms.

/// Jürgen



On 08/02/2014 05:40 PM, Blake McBride wrote:
Dear Juergen,

It prints immediately.  Great!!!

Last thing, if I could just ^C out of the middle of printing ⍳100000
but I could ^C^C out!
(I understand this may be a readline issue that'll have to wait.)

Thanks!

Blake



On Sat, Aug 2, 2014 at 10:25 AM, Juergen Sauermann <address@hidden> wrote:
Hi Blake,

I did some rework of the print functions for APL values.
Some were not suited for values with many columns.
That should work better now. SVN 413.

/// Jürgen



On 08/01/2014 06:30 PM, Blake McBride wrote:
On Mon, Jul 21, 2014 at 5:33 AM, Juergen Sauermann <address@hidden> wrote:
Hi Blake,

unfortunately the rules for APL output are such that you cannot "print as you go".


Try ⍳100000

That should be able to print as you go - IBM APL does.  Right now there is a significant delay - that I presume is unnecessarily using a significant amount of memory to hold the formatted string.

Of course, you still can't ^C out of that either - but that's a different matter.

I understand that in many situations you must format the whole thing before you can can see how it lays out.  But that is not true in cases where it clearly doesn't fit (like ⍳100000) and many, many cases where it is too large to have a reasonable format.  Those are the cases when print-as-you-go can be done and would be without delay, and save significant memory - and hopefully easier to interrupt.

Thanks.

Blake






reply via email to

[Prev in Thread] Current Thread [Next in Thread]