Skip to content

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
@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.

2 participants