Click here to Skip to main content
15,844,903 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Embedded and dynamic memory allocation Pin
Mircea Neacsu15-Nov-23 6:04
Mircea Neacsu15-Nov-23 6:04 
GeneralRe: Embedded and dynamic memory allocation Pin
honey the codewitch15-Nov-23 6:17
mvahoney the codewitch15-Nov-23 6:17 
GeneralRe: Embedded and dynamic memory allocation Pin
Greg Utas15-Nov-23 7:36
professionalGreg Utas15-Nov-23 7:36 
GeneralRe: Embedded and dynamic memory allocation Pin
honey the codewitch15-Nov-23 10:06
mvahoney the codewitch15-Nov-23 10:06 
GeneralRe: Embedded and dynamic memory allocation Pin
trønderen16-Nov-23 2:34
trønderen16-Nov-23 2:34 
GeneralRe: Embedded and dynamic memory allocation Pin
Greg Utas16-Nov-23 3:54
professionalGreg Utas16-Nov-23 3:54 
GeneralRe: Embedded and dynamic memory allocation Pin
trønderen16-Nov-23 6:04
trønderen16-Nov-23 6:04 
GeneralRe: Embedded and dynamic memory allocation Pin
Greg Utas16-Nov-23 9:44
professionalGreg Utas16-Nov-23 9:44 
I do the splitting and recombining during allocations and deallocations. It's fairly efficient, and the code already has the heap mutex. A background task has to lock out users for longer. I just make all users share the cost, because I can't see how offloading the work to a background task can make things any more efficient.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.

GeneralRe: Embedded and dynamic memory allocation Pin
trønderen16-Nov-23 11:23
trønderen16-Nov-23 11:23 
GeneralRe: Embedded and dynamic memory allocation Pin
Greg Utas16-Nov-23 13:50
professionalGreg Utas16-Nov-23 13:50 
AnswerRe: Embedded and dynamic memory allocation Pin
CPallini15-Nov-23 21:12
mveCPallini15-Nov-23 21:12 
GeneralRe: Embedded and dynamic memory allocation Pin
honey the codewitch16-Nov-23 1:41
mvahoney the codewitch16-Nov-23 1:41 
GeneralRe: Embedded and dynamic memory allocation Pin
CPallini16-Nov-23 1:55
mveCPallini16-Nov-23 1:55 
AnswerRe: Embedded and dynamic memory allocation Pin
leon de boer8-Dec-23 21:59
leon de boer8-Dec-23 21:59 
QuestionC++ reflection Pin
jschell15-Nov-23 4:26
jschell15-Nov-23 4:26 
AnswerRe: C++ reflection Pin
Mircea Neacsu15-Nov-23 4:41
Mircea Neacsu15-Nov-23 4:41 
GeneralRe: C++ reflection Pin
jschell16-Nov-23 5:32
jschell16-Nov-23 5:32 
AnswerRe: C++ reflection Pin
honey the codewitch15-Nov-23 5:35
mvahoney the codewitch15-Nov-23 5:35 
GeneralRe: C++ reflection Pin
jschell16-Nov-23 5:39
jschell16-Nov-23 5:39 
GeneralRe: C++ reflection Pin
honey the codewitch16-Nov-23 6:29
mvahoney the codewitch16-Nov-23 6:29 
GeneralRe: C++ reflection Pin
jschell17-Nov-23 6:32
jschell17-Nov-23 6:32 
GeneralRe: C++ reflection Pin
honey the codewitch17-Nov-23 6:34
mvahoney the codewitch17-Nov-23 6:34 
GeneralRe: C++ reflection Pin
jschell20-Nov-23 8:17
jschell20-Nov-23 8:17 
QuestionHow to "match" multiple occurrences of item in text ? ( Regular expression ) Pin
Salvatore Terress12-Nov-23 7:40
Salvatore Terress12-Nov-23 7:40 
AnswerRe: How to "match" multiple occurrences of item in text ? ( Regular expression ) Pin
Richard MacCutchan12-Nov-23 22:52
mveRichard MacCutchan12-Nov-23 22:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.