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

JSONPath Node location representaion #5

Merged
merged 2 commits into from
Jun 25, 2024
Merged

JSONPath Node location representaion #5

merged 2 commits into from
Jun 25, 2024

Conversation

jg-rp
Copy link
Owner

@jg-rp jg-rp commented Jun 24, 2024

Try implementing JSONPath node locations as persistent linked lists to improve memory usage when querying large JSON-like data.

@jg-rp
Copy link
Owner Author

jg-rp commented Jun 25, 2024

Profiling showed no improvement in memory usage when using a linked list representation of JSONPath node locations, so we'll stick with simple tuples and tuple addition.

We will keep the refactoring of JSONPath node construction though.

@jg-rp jg-rp marked this pull request as ready for review June 25, 2024 07:02
@jg-rp jg-rp changed the title Node locations as persistent linked lists JSONPath Node location representaion Jun 25, 2024
@jg-rp jg-rp merged commit 2fe870d into main Jun 25, 2024
34 checks passed
@jg-rp jg-rp deleted the locations branch June 25, 2024 07:04
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