Skip to content

Reduce ram size allocators #1188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: reduce-ram-size
Choose a base branch
from
Open

Conversation

iddm
Copy link
Collaborator

@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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy