Skip to content

More convenient way to allocate new blocks without affecting performance#6

Merged
LessComplexity merged 1 commit into
mainfrom
development
Mar 21, 2021
Merged

More convenient way to allocate new blocks without affecting performance#6
LessComplexity merged 1 commit into
mainfrom
development

Conversation

@LessComplexity

@LessComplexity LessComplexity commented Mar 21, 2021

Copy link
Copy Markdown
Member

Modified the CPPShift::Memory::MemoryPoolManager::createMemoryBlock function to retrieve a memory pool structure (MemoryPool*) & a size, the function then assigns the block to the pool block chain for you - before it just created the block and let you do the work of chaining it together to the pool, no affect in performance (even a bit faster but negligible).

@LessComplexity LessComplexity merged commit e99ef69 into main Mar 21, 2021
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.

1 participant