public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/16236] New: add $_memoize function
@ 2013-11-25 16:32 tromey at redhat dot com
  2014-02-26 20:55 ` [Bug python/16236] " tromey at redhat dot com
  2014-04-29 13:55 ` palves at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2013-11-25 16:32 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-29 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-25 16:32 [Bug python/16236] New: add $_memoize function tromey at redhat dot com
2014-02-26 20:55 ` [Bug python/16236] " tromey at redhat dot com
2014-04-29 13:55 ` palves at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).