Skip to content

memorypool: rename Memory to MemoryPool, and use Rc internally#48343

Merged
jkarneges merged 1 commit into
mainfrom
jkarneges/memory-pool-type
May 11, 2026
Merged

memorypool: rename Memory to MemoryPool, and use Rc internally#48343
jkarneges merged 1 commit into
mainfrom
jkarneges/memory-pool-type

Conversation

@jkarneges
Copy link
Copy Markdown
Member

@jkarneges jkarneges commented May 8, 2026

This renames the Memory type to MemoryPool for clarity. It also wraps its inner data in std::rc::Rc so that the type itself is ref counted and callers don't need to supply their own Rc-wrapping, which they are universally doing.

@jkarneges jkarneges force-pushed the jkarneges/memory-pool-type branch 2 times, most recently from ddec484 to 8063f80 Compare May 11, 2026 15:52
@jkarneges jkarneges force-pushed the jkarneges/memory-pool-type branch from 8063f80 to 43dfa42 Compare May 11, 2026 16:55
@jkarneges jkarneges requested a review from a team May 11, 2026 17:21
@jkarneges jkarneges merged commit 690f143 into main May 11, 2026
19 checks passed
@jkarneges jkarneges deleted the jkarneges/memory-pool-type branch May 11, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants