summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jose Colon Rodriguez2024-03-31 11:04:26 -0400
committerGravatar Jose Colon Rodriguez2024-03-31 11:04:26 -0400
commit1fe88b6558380aaad0bdaddc37e8d0325a5a51d3 (patch)
treedc30c81e66dd5273a65d471cbd6b1a481eb8d02c
parentAdded LICENSE (diff)
downloadzg-1fe88b6558380aaad0bdaddc37e8d0325a5a51d3.tar.gz
zg-1fe88b6558380aaad0bdaddc37e8d0325a5a51d3.tar.xz
zg-1fe88b6558380aaad0bdaddc37e8d0325a5a51d3.zip
Added Ghostty ref in README
-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: