summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index d4fc8f6..4481a6d 100644
--- a/README.md
+++ b/README.md
@@ -459,10 +459,11 @@ test "Scripts" {
459## Relation to Ziglyph 459## Relation to Ziglyph
460zg is a total re-write of some of the components of Ziglyph. The idea was to 460zg is a total re-write of some of the components of Ziglyph. The idea was to
461reduce binary size and improve performance. These goals were achieved by using 461reduce binary size and improve performance. These goals were achieved by using
462trie-like data structures instead of generated functions. Where Ziglyph uses a 462trie-like data structures (inspired by [Ghostty's implementation](https://mitchellh.com/writing/ghostty-devlog-006))
463function call, zg uses an array lookup, which is quite faster. In addition, all 463instead of generated functions. Where Ziglyph uses a function call, zg uses an
464these data structures in zg are loaded at runtime from compressed versions in the 464array lookup, which is quite faster. In addition, all these data structures in
465binary. This allows for smaller binary sizes at the expense of increased memory 465zg are loaded at runtime from compressed versions in the binary. This allows
466for smaller binary sizes at the expense of increased memory
466footprint at runtime. 467footprint at runtime.
467 468
468Benchmarks demonstrate the above stated goals have been met: 469Benchmarks demonstrate the above stated goals have been met: