Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

iddm
Copy link
Contributor

@iddm iddm commented Feb 23, 2024

Allows to use a custom allocator specific to JSON values (can be used for
any other types too). The provided allocator trait is a drop-in
replacement for the unstable std::alloc::Allocator trait, which is prone
to change at this moment.

At the same time, this commit brings an auto-implementation of the
aforementioned trait for all other types, which implement the unstable
std::alloc::Allocator trait, to be used as a direct replacement, at
least for temporary purposes, until the standard trait becomes stable
ans safe to use.

iddm added 2 commits February 21, 2024 11:06
Allows to use a custom allocator specific to JSON values (can be used for
any other types too). The provided allocator trait is a drop-in
replacement for the unstable std::alloc::Allocator trait, which is prone
to change at this moment.

At the same time, this commit brings an auto-implementation of the
aforementioned trait for all other types, which implement the unstable
std::alloc::Allocator trait, to be used as a direct replacement, at
least for temporary purposes, until the standard trait becomes stable
ans safe to use.
@iddm iddm requested a review from MeirShpilraien February 23, 2024 10:27
@iddm iddm self-assigned this Feb 23, 2024
Base automatically changed from reduce-ram-size-preparations to reduce-ram-size February 29, 2024 11:53
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