Skip to content
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

a test with flat buffers #2520

Merged
merged 1 commit into from
Feb 23, 2024
Merged

a test with flat buffers #2520

merged 1 commit into from
Feb 23, 2024

Conversation

romange
Copy link
Collaborator

@romange romange commented Feb 2, 2024

Also, add an experimental flag --experimental_flat_json that allows writing json objects as flat strings using
flexibuffers.

The experiment shows that debug populate 100000 a 10 type json elements 30
uses almost 3 times less memory than with native jsoncons objects.

@romange romange marked this pull request as ready for review February 20, 2024 18:31
@romange romange changed the title Flat a test with flat buffers Feb 20, 2024
Also, add an experimental flag `--experimental_flat_json` that allows writing json objects as flat strings using
flexibuffers.

The experiment shows that `debug populate 100000 a 10 type json elements 30`
uses almost 3 times less memory than with native jsoncons objects.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
@romange romange merged commit bcae2df into main Feb 23, 2024
10 checks passed
@romange romange deleted the FLAT branch February 23, 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.

None yet

2 participants