Skip to content

v0.18.3

Latest

Choose a tag to compare

@tmck-code tmck-code released this 12 Nov 13:01
· 38 commits to master since this release
4a7b81e

Bugfixes! 🐛

  1. Return correct sprites
    • Using -n mew no longer returns mewto sprites
    • Using -n natu no longer returns eternatus sprites
    • etc
  2. Ensure that duplicate cowfiles are skipped during dockerfile build
    • which created the cows.tar.gz file that is used to build release binaries
    • the binaries now ship with the correct number of sprites
      • 3,547 instead of 5-117

🚀 This (correct once again) reduction in sprites results in a 10% speed uptick on my linux machine, and roughly equivalent speeds on other architectures.

 ☯ ~/d/pokesay hyperfine 'echo w | ./dist/bin/pokesay-0.18.3-linux-amd64' 'echo w | pokesay' -w 200 -m 400
Benchmark 1: echo w | ./dist/bin/pokesay-0.18.3-linux-amd64
  Time (mean ± σ):       1.5 ms ±   0.2 ms    [User: 0.9 ms, System: 1.1 ms]
  Range (min … max):     1.1 ms …   2.1 ms    865 runs

Benchmark 2: echo w | pokesay
  Time (mean ± σ):       1.7 ms ±   0.2 ms    [User: 0.9 ms, System: 1.2 ms]
  Range (min … max):     1.3 ms …   2.4 ms    850 runs

Summary
  echo w | ./dist/bin/pokesay-0.18.3-linux-amd64 ran
    1.10 ± 0.16 times faster than echo w | pokesay

What's Changed

Full Changelog: v0.18.2...v0.18.3