$ go get github.com/bottom-software-foundation/bottom-go/cmd/bottom
$ echo "Hello, World!" | bottom
💖✨✨,,👉👈💖💖,👉👈💖💖🥺,,,👉👈💖💖🥺,,,👉👈💖💖✨,👉👈✨✨✨✨,,,,👉👈✨✨✨,,👉👈💖✨✨✨🥺,,👉👈💖💖✨,👉👈💖💖✨,,,,👉👈💖💖🥺,,,👉👈💖💖👉👈✨✨✨,,,👉👈✨👉👈
$ echo "💖✨✨,,👉👈💖💖,👉👈💖💖🥺,,,👉👈💖💖🥺,,,👉👈💖💖✨,👉👈✨✨✨✨,,,,👉👈✨✨✨,,👉👈💖✨✨✨🥺,,👉👈💖💖✨,👉👈💖💖✨,,,,👉👈💖💖🥺,,,👉👈💖💖👉👈✨✨✨,,,👉👈✨👉👈" | bottom -d
Hello, World!
$ echo "Hello, World!" > input.txt
$ bottom input.txt | bottom -d
Hello, World!
You can see current benchmarks in the Test workflow output. Benchmarks for v0.2.1:
BenchmarkEncode-2 6773714 190 ns/op 63.27 MB/s
BenchmarkEncodeTo-2 971070 1335 ns/op 244.88 MB/s
BenchmarkDecode-2 579741 2276 ns/op 143.70 MB/s
BenchmarkDecodeFrom-2 477393 2331 ns/op 140.28 MB/s