justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: what's the idea behind "m_empties" in various places? it looks like that instead of releasing memory you keep track of it and once done then to release everything (!?)
Asked by gio (94.66.64.x) on July 17 2013, 5:16pm
Reply on July 17 2013, 9:02pm:
    Well, when you have items that you would otherwise call free() and malloc() (or delete and new) on a lot, such as buffers, it's sometimes preferable to keep them around for reuse rather than having to modify the heap.

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2025 Justin Frankel. | RSS