[Top][All Lists]

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

[Octave-bug-tracker] [bug #57284] Crash in MEX file when outputs are not

From: Rik
Subject: [Octave-bug-tracker] [bug #57284] Crash in MEX file when outputs are not used
Date: Thu, 21 Nov 2019 12:29:49 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #12, bug #57284 (project octave):

I used a bit of Perl to determine the number of outputs for all functions in
the scripts/ directory.

0: 308
1: 1017
2: 149
3: 75
4: 30
5: 15
6: 6
7: 4
8: 4
9: 2

As you can see, most functions have 0 or 1 outputs.  Using 4 outputs would
cover 96% of all cases. 

Even though memory is cheap these days, it still doesn't feel like the right
thing to do to increase this to 32.  If we're going to go with a fixed number
then 4 or 8 seem like reasonable choices.  The smaller number, because that
already gets 95% of programming cases, the larger number if necessary since
that will be the next power-of-2 aligned value and would handle 99.9% of all


Reply to this item at:


  Message sent via Savannah

reply via email to

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