RFC: introduce scoped cleanups
Tom Tromey
tromey@redhat.com
Tue Jul 16 20:33:00 GMT 2013
Joel> Regardless of the above, I like the idea of performing the cleanups
Joel> on an obstack; fast and yet a little more resilient to programming
Joel> errors. Not sure if that would be something easy to implement or not,
Joel> though.
Tom> It ought to be easy. I will look into it.
I think it is easy to implement. And, I think I've convinced myself
that it is safe. But it seems to me that we could keep a freelist
instead -- this is much more obviously safe, and also, I think,
reasonably fast in most cases. So I think I'm more inclined to take
this approach instead.
Tom
More information about the Gdb-patches
mailing list