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

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

[Octave-bug-tracker] [bug #64749] VM seems to be out of sync in very rar


From: Arun Giridhar
Subject: [Octave-bug-tracker] [bug #64749] VM seems to be out of sync in very rare situations for function parameters
Date: Sat, 7 Oct 2023 14:45:41 -0400 (EDT)

Follow-up Comment #2, bug #64749 (project octave):


[comment #1 comment #1:]
> Is the function's bytecode 61947+ bytes long? If that is the case it might
be some 2^16-1 issue.
> 
> I am thinking about manipulating the bytecode compiler to always emit wide
slots
>

How many lines of code would be 65535 bytes of bytecode? Is it prudent to put
some check in the VM for the size of a function and not compile overly large
functions? Octave already does that for m-files over some large size (500
MB?), and Matlab does something similar.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64749>

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




reply via email to

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