This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/16236] New: add $_memoize function


https://sourceware.org/bugzilla/show_bug.cgi?id=16236

            Bug ID: 16236
           Summary: add $_memoize function
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at redhat dot com

Right now gdb will create a new object in the inferior
on each use.  However, many times this isn't needed.
It would be handy sometimes to have a $_memoize convenience
function that forces its argument to memory just once,
and then for subsequent calls simply returns the same object.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]