Talk:Region-based memory management

Latest comment: 8 months ago by Codegrinder in topic Related to arenas?
edit

Hello fellow Wikipedians,

I have just added archive links to one external link on Region-based memory management. Please take a moment to review my edit. If necessary, add {{cbignore}} after the link to keep me from modifying it. Alternatively, you can add {{nobots|deny=InternetArchiveBot}} to keep me off the page altogether. I made the following changes:

When you have finished reviewing my changes, please set the checked parameter below to true to let others know.

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 5 June 2024).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—cyberbot IITalk to my owner:Online 07:23, 25 February 2016 (UTC)Reply

About the example

edit

Wouldn't it be better to change

ListNode* newNode = allocateFromRegion(r, sizeof(ListNode));

into

ListNode* newNode = allocateFromRegion(r, sizeof(*newNode));

Of course, the code does the same thing. But if you change the referent type of

newNode

it would be less error prone (you only have to change the type in one place). — Preceding unsigned comment added by Mlehn (talkcontribs) 09:14, 21 February 2021 (UTC)Reply

edit

Is this concept related to arenas? What are the differences? Codegrinder (talk) 08:42, 6 March 2024 (UTC)Reply