Skip to content

json/cache-improvements - #38

Merged
lbastigk merged 49 commits into
mainfrom
json/cache-improvements
Aug 25, 2026
Merged

lbastigk merged 49 commits into
mainfrom
json/cache-improvements

Conversation

@lbastigk

Copy link
Copy Markdown
Owner

Adds an iteration-friendly caching system to the JSON class, improving on the existing caching system. Large JSON improvements regarding locking, key traversal using string_views and less temporary allocations.

Expanded the Promise Utility object for future use.

Fixed some mistakes in the transformation benchmarking to ensure a more accurate benchmark time.

…ove cache management. Add todo for cache clearing promise.
…unction signatures, and enhance JSON handling capabilities
…cture, replacing output parameters with a structured result type
…traversal, improving compatibility with rapidjson and reducing unnecessary conversions
…nstead of std::stoul + temporary string allocation
…uto' for type deduction, enhancing code readability and consistency. Add comments regarding string_view to string conversions for rapidjson compatibility
…raversal and extraction functions. Change return type of extractKeyPart to std::string_view.
…hecks on string_view. Add todo to turn StringHandler class into namespace.
…ings and improve error handling. Introduce rapidjsonParseFlags for flexible parsing options instead of manual comment stripping.
…gRef for member lookup, improving performance and reducing unnecessary string allocations.
… deserialization, remove rest of unnecessary string copy in RjDirectAccess.
…g to clang. Maybe because RjDirectAccess is now a namespace? Or is this a clang bug?
…ublePointer and suggest C++26 contract assert
@lbastigk
lbastigk merged commit a84df6f into main Aug 25, 2026
2 checks passed
@lbastigk
lbastigk deleted the json/cache-improvements branch August 25, 2026 03:23
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