Minor refactoring: new malloc'd entries to head of list #2

Merged
stephenseo merged 2 commits from dev into main 2024-11-14 01:27:49 +00:00
Owner

This PR introduces the following:

Malloc'd memory tends to be deallocated in reverse order of allocation,
so it would make more sense to push new entries to the head, since
removals traverse the list from the head-to-tail.

This PR introduces the following: Malloc'd memory tends to be deallocated in reverse order of allocation, so it would make more sense to push new entries to the head, since removals traverse the list from the head-to-tail.
stephenseo added the
enhancement
label 2024-11-14 01:25:18 +00:00
stephenseo self-assigned this 2024-11-14 01:25:18 +00:00
stephenseo added 2 commits 2024-11-14 01:25:19 +00:00
Malloc'd memory tends to be deallocated in reverse order of allocation,
so it would make more sense to push new entries to the head, since
removals traverse the list from the head-to-tail.
stephenseo merged commit 5417870cb5 into main 2024-11-14 01:27:49 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: stephenseo/AnotherMemCheck#2
No description provided.