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

Feature: loading from a file and dumping to a file. #5

Open
mratsim opened this issue Feb 9, 2021 · 1 comment
Open

Feature: loading from a file and dumping to a file. #5

mratsim opened this issue Feb 9, 2021 · 1 comment

Comments

@mratsim
Copy link

mratsim commented Feb 9, 2021

It doesn't seem like jsony supports loading from a file, which a user needs space to hold 2x the json size in memory.

@treeform
Copy link
Owner

treeform commented Feb 9, 2021

I don't like the nim's file streaming APIs as it slows everything down by 10%. I can see supporting some thing like mmap. In fact probably most file reads should be mmaps. Also having json files this large is probably not a good design. And I deal with terabytes of json files...

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

No branches or pull requests

2 participants