You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/JMESPath.md
+74
Original file line number
Diff line number
Diff line change
@@ -72,3 +72,77 @@ suite jmespath_read_at_tests = [] {
72
72
};
73
73
```
74
74
75
+
## Run-time Expressions
76
+
77
+
It can be expensive to tokenize at runtime. The runtime version of `glz::read_jmespath` takes in a `const glz::jmespath_expression&`. This allows expressions to be pre-computed, reused, and cached for better runtime performance.
78
+
79
+
```c++
80
+
Person child{};
81
+
// A runtime expression can be pre-computed and saved for more efficient lookups
0 commit comments