Skip to content

Commit 2159898

Browse files
committed
style: 💄 run formatter
1 parent c478afb commit 2159898

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎src/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
# @jsonjoy.com/codegen
22

3-
This package contains utilities for generating optimized JavaScript code at runtime.
4-
It enables creating high-performance functions by generating code dynamically based
3+
This package contains utilities for generating optimized JavaScript code at runtime.
4+
It enables creating high-performance functions by generating code dynamically based
55
on schemas, templates, or runtime data.
66

77
## Key Benefits
88

9-
JIT (Just-In-Time) code generation can provide significant performance improvements
9+
JIT (Just-In-Time) code generation can provide significant performance improvements
1010
when you have advance knowledge of the data structure or execution pattern.
1111

1212
Some examples:
1313

1414
- **Deep equality comparison function**: When one object is known in advance, we can
1515
generate an optimized function that efficiently compares against a single object.
1616
This technique is implemented in the `json-equal` library.
17-
18-
- **JSON Patch execution**: When the JSON Patch operations are known beforehand, we can
17+
18+
- **JSON Patch execution**: When the JSON Patch operations are known beforehand, we can
1919
generate an optimized function that applies the patch in the most efficient way.
2020
This approach is used in the `json-patch` library.
21-
22-
- **Schema-based validation**: Given a `json-type` schema of a JSON object, it's possible
23-
to generate highly optimized functions for validation and serialization that avoid
21+
22+
- **Schema-based validation**: Given a `json-type` schema of a JSON object, it's possible
23+
to generate highly optimized functions for validation and serialization that avoid
2424
generic overhead and execute significantly faster than traditional approaches.

0 commit comments

Comments
 (0)