Author Topic: using memory pool for the SearchTree Node  (Read 17205 times)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: using memory pool for the SearchTree Node
« Reply #15 on: July 05, 2009, 07:43:36 pm »
I don't get the last line. You are talking about parsing the whatis gdb command?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5917
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: using memory pool for the SearchTree Node
« Reply #16 on: July 06, 2009, 02:49:55 am »
I don't get the last line. You are talking about parsing the whatis gdb command?
Yes, exactly.
Parsing strings from gdb is hard to implement.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.