Releases: soya-daizu/goban
Releases · soya-daizu/goban
1.8.0
1.7.0
- Support Crystal 1.11.x
- Multithreading support
- When the program is compiled with
-Dpreview_mt
flag, Goban will run the mask evaluation, which takes the longest, in parallel - The speedup is more obvious when the encoding data is not too short
- Everything will work the same as before without the flag
- When the program is compiled with
❯ shards build --release -Dpreview_mt
Dependencies are satisfied
Building: qr_test
❯ CRYSTAL_WORKERS=4 ./bin/qr_test "A fast and efficient QR Code encoder/decoder library written purely in Crystal. It is significantly faster (4-10×) and uses fewer heap allocations (-95%) compared to the other implementation in Crystal (spider-gazelle/qr-code), and it supports wider QR Code standard features such as Kanji mode encoding. It also supports generating Micro QR Code and rMQR Code symbols."
goban 2.45k (408.47µs) (± 6.31%) 95.3kB/op fastest
qr-code 168.07 ( 5.95ms) (± 2.17%) 2.55MB/op 14.57× slower
❯ CRYSTAL_WORKERS=8 ./bin/qr_test "A fast and efficient QR Code encoder/decoder library written purely in Crystal. It is significantly faster (4-10×) and uses fewer heap allocations (-95%) compared to the other implementation in Crystal (spider-gazelle/qr-code), and it supports wider QR Code standard features such as Kanji mode encoding. It also supports generating Micro QR Code and rMQR Code symbols."
goban 3.41k (292.99µs) (± 2.03%) 95.3kB/op fastest
qr-code 173.34 ( 5.77ms) (± 1.81%) 2.55MB/op 19.69× slower
1.6.1
- Support Crystal 1.9.0
- Improved Kanji mode encoding performance
- Fixed an issue where encoding fails on some specific text
Full Changelog: 1.6.0...1.6.1
1.6.0
- Support Micro QR and rMQR Code decoding
- Fixed an issue where rMQR Codes are not encoded properly when the ECC level is set to High
- Improved canvas bound checking yielding some extra performance
Full Changelog: 1.5.1...1.6.0
1.5.1
- Fixed an issue where some rMQR codes were not encoded correctly
Full Changelog: 1.5.0...1.5.1
1.5.0
- Experimental decoder implementation for QR Code
- Slightly reduced memory usage
- Lots of refactoring
- Crystal 1.8.x support
Full Changelog: 1.4.1...1.5.0
1.4.1
Full Changelog: 1.4.0...1.4.1
1.4.0
- Add rMQR support
- Fix exporters not working with Micro QR Code
- Add ability to generate Micro QR Codes & rMQR Codes from an arbitrary string
Full Changelog: 1.3.0...1.4.0
1.3.0
- Add support for Micro QR Code generation
- Fix wrong operator precedence in mask patterns
- Fix mask evaluation was not running properly
Full Changelog: 1.2.2...1.3.0
1.2.2
- Hotfix for regression in PNGExporter
- Improved function pattern drawing
Full Changelog: 1.2.1...1.2.2