rapid-qoi

Crates.iorapid-qoi
lib.rsrapid-qoi
version0.6.1
sourcesrc
created_at2021-11-30 14:24:48.310119
updated_at2022-02-18 16:16:59.160977
descriptionOptimized QOI format encoder and decoder
homepagehttps://github.com/zakarumych/rapid-qoi
repositoryhttps://github.com/zakarumych/rapid-qoi
max_upload_size
id489807
size68,545
development (github:dabbotorg:development)

documentation

https://docs.rs/rapid-qoi

README

rapid-qoi

crates docs actions MIT/Apache loc

Fast implementation of QOI format. Reference implementation is here 'https://github.com/phoboslab/qoi'

rapid-qoi is

  • no deps

  • no std

  • no unsafe

  • tiny

  • fast to build (0.8 sec clean build on i9)

  • one of the most efficient implementations of QOI encoder and decoder.

    # Grand total for qoi benchmark suite
    # https://qoiformat.org/benchmark/qoi_benchmark_suite.tar
    
              decode ms   encode ms   decode mpps   encode mpps
    ## Intel i9
    qoi:          2.009       2.706        231.01        171.52
    rapid_qoi:    1.404       2.520        330.72        184.23
    
    ## Apple M1
    qoi:          1.676       2.088        277.01        222.26
    rapid_qoi:    1.100       1.836        421.99        252.77
    

    See benches for full reports.
    Run cargo run --release -p bench -- [iterations] [path]

License

Licensed under either of

at your option.

Contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 55

cargo fmt