Commits

Author Commit Message Labels Comments Date
Gora Khargosh
Remove re from base85.py Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
I mean the decoding time was cut into half. Speed doubled. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
We just cut decoding speed into half. Heh. * Don't use regular expressions when other methods are faster (almost 2-4x). Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
2 milliseconds. sorry. =) Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Decodes 10000 short urls in 0.2 milliseconds. * As a result of the optimizations that went in yesterday and today, the short URL decoders should receive a speed push of around 20x. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Extracts base-to-bigint and bigint-to-bytes conversion routines. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Fixes a typo in pycrypto long_to_bytes impl. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
base58 is a tiny wee bit faster now. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Clean up and adds _long_to_integer in speed test. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Test pypy last. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Measure twice and cut once. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Don't expose slow functions. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Fixes major prefix padding bug in integer_to_bytes. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
endianness test. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
pypy symlinked. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Updates to use pypy-c-jit. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Adds more documentation to base85.py Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Fixes documentation and adds byte_ord to __all__ member. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Fixes typo. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Fixes documentation. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Adds base62 codec. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Cleans up comments. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Updates base85 documentation. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
No tuple packing/unpacking necessary. Pass straight to arguments. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Cleans up base85 code and documentation. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
A little more future proof. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Base85 converted to use array portably. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Extracts entire encoder out. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Extract the encoder in base85 so that we can plug in different implementations. Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
Gora Khargosh
Make sieve a tuple Signed-off-by: Gora Khargosh <gora.khargosh@gmail.com>
  1. Prev
  2. Next