Skip to content

Add search caching#355

Merged
antonmedv merged 2 commits intoantonmedv:masterfrom
chojs23:feature/search-caching
Jul 23, 2025
Merged

Add search caching#355
antonmedv merged 2 commits intoantonmedv:masterfrom
chojs23:feature/search-caching

Conversation

@chojs23
Copy link
Copy Markdown
Contributor

@chojs23 chojs23 commented Jul 23, 2025

Currently searching Iterates through every node in the JSON tree (for n != nil). For each node, calls re.FindAllStringIndex() on both keys and values.

Add LRU local cache for searching. Also add some tests.

@antonmedv
Copy link
Copy Markdown
Owner

Nice! love the tests!

@antonmedv antonmedv merged commit ec73a48 into antonmedv:master Jul 23, 2025
3 checks passed
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