octave-patch-tracker
[Top][All Lists]
Advanced

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

[Octave-patch-tracker] [patch #10362] Fix problem with trivial ranges in


From: John W. Eaton
Subject: [Octave-patch-tracker] [patch #10362] Fix problem with trivial ranges in VM
Date: Tue, 18 Jul 2023 01:06:05 -0400 (EDT)

Follow-up Comment #5, patch #10362 (project octave):

I'm not convinced that we need a special data type for this job.  

Instead, could we handle "EXP : EXP" and "EXP : EXP : EXP" as special cases in
the interpreter instead of creating range objects?  Then it seems to me that
we could handle integer base, increment, and limit values in FOR loops without
needing the special data type.

See also the various discussions we have had about eliminating the special
range data type.  Matlab doesn't have one, so we don't need it in Octave for
compatibility and it has caused a lot of trouble and confusion in the past.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?10362>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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