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

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

[Octave-bug-tracker] [bug #58105] isfield needs time proportional to num


From: anonymous
Subject: [Octave-bug-tracker] [bug #58105] isfield needs time proportional to number of fields
Date: Sun, 9 May 2021 10:07:22 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:68.9) Gecko/20100101 Goanna/4.6 Firefox/68.9 Mypal/28.14.2

Follow-up Comment #6, bug #58105 (project octave):

I attached a patch bug58105-1.patch that adds member "isfield" to
"octave_value", "octave_base_value", "octave_struct" and
"octave_scalar_struct" that efficiently redirects the call to "octave_map" /
"octave_scalar_map" member of "octave_struct" / "octave_scalar_struct".
It is minimal but it results in API change.

(file #51403)
    _______________________________________________________

Additional Item Attachment:

File name: bug58105-1.patch               Size:1 KB
    <https://file.savannah.gnu.org/file/bug58105-1.patch?file_id=51403>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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