|
-
November 27th, 2008, 11:33 AM
#11
Re: Heap efficiency?
 Originally Posted by TheCPUWizard
1) Be careful about object lifetime. Are you calling new/delete at the most efficient times? Can you "re-use" blocks instead of returning them to the general heap?
Is this advocating liberal use of placement new or an allocator that does all this for you behind the scenes such as the small object allocator in Loki?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|