Skip to content

connorf-bbc/run-length-encode-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

run-length-encode-rs

Entry for BBC Academy summer '22 coding challenge.

Building

  1. Install rust.
  2. Build the executable with cargo build --release. By default it will be located in target/release/rle.

Usage

rle mono <inputfile>
    monochrome image encoding
rle grey <inputfile>
    greyscale (hex shade) image encoding
rle grey n <inputfile>
    greyscale (hex shade) image encoding with a compression factor (0 to 15)

Input files must use the bespoke kata file format.

Future work

  • Mono/hex decoders
  • Benchmarking
  • Divide & Conquer encoding: can it be done faster if we parallelise encoding sections of the file?

About

Entry for academy summer '22 coding challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages