0.0
No release in over a year
base45_lite is a Ruby implementation of Base45 data encoding
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 5.0
~> 13.0
 Project Readme

Base45Lite

base45_list is an implementation of The Base45 Data Encoding

Installation

gem install base45_lite

Usage

See test/test_base45_lite.rb

Benchmark

Compare to base45:

rake benchmark
Warming up --------------------------------------
   Base45Lite.encode    38.080k i/100ms
       Base45.encode    15.564k i/100ms
Calculating -------------------------------------
   Base45Lite.encode    347.340k (± 8.5%) i/s -      1.752M in   5.082412s
       Base45.encode    141.198k (± 6.5%) i/s -    715.944k in   5.092245s

Comparison:
   Base45Lite.encode:   347340.1 i/s
       Base45.encode:   141197.9 i/s - 2.46x  (± 0.00) slower

Warming up --------------------------------------
   Base45Lite.decode    23.842k i/100ms
       Base45.decode    15.195k i/100ms
Calculating -------------------------------------
   Base45Lite.decode    238.203k (± 6.7%) i/s -      1.192M in   5.028081s
       Base45.decode    167.595k (± 5.3%) i/s -    835.725k in   5.001845s

Comparison:
   Base45Lite.decode:   238202.6 i/s
       Base45.decode:   167595.3 i/s - 1.42x  (± 0.00) slower