There are no reviews yet. Be the first to send feedback to the community and the maintainers!
SMAZ - compression for very small strings ----------------------------------------- Smaz is a simple compression library suitable for compressing very short strings. General purpose compression libraries will build the state needed for compressing data dynamically, in order to be able to compress every kind of data. This is a very good idea, but not for a specific problem: compressing small strings will not work. Smaz instead is not good for compressing general purpose data, but can compress text by 40-50% in the average case (works better with English), and is able to perform a bit of compression for HTML and urls as well. The important point is that Smaz is able to compress even strings of two or three bytes! For example the string "the" is compressed into a single byte. To compare this with other libraries, think that like zlib will usually not be able to compress text shorter than 100 bytes. COMPRESSION EXAMPLES -------------------- 'This is a small string' compressed by 50% 'foobar' compressed by 34% 'the end' compressed by 58% 'not-a-g00d-Exampl333' enlarged by 15% 'Smaz is a simple compression library' compressed by 39% 'Nothing is more difficult, and therefore more precious, than to be able to decide' compressed by 49% 'this is an example of what works very well with smaz' compressed by 49% '1000 numbers 2000 will 10 20 30 compress very little' compressed by 10% In general, lowercase English will work very well. It will suck with a lot of numbers inside the strings. Other languages are compressed pretty well too, the following is Italian, not very similar to English but still compressible by smaz: 'Nel mezzo del cammin di nostra vita, mi ritrovai in una selva oscura' compressed by 33% 'Mi illumino di immenso' compressed by 37% 'L'autore di questa libreria vive in Sicilia' compressed by 28% It can compress URLS pretty well: 'http://google.com' compressed by 59% 'http://programming.reddit.com' compressed by 52% 'http://github.com/antirez/smaz/tree/master' compressed by 46% USAGE ----- The lib consists of just two functions: int smaz_compress(char *in, int inlen, char *out, int outlen); Compress the buffer 'in' of length 'inlen' and put the compressed data into 'out' of max length 'outlen' bytes. If the output buffer is too short to hold the whole compressed string, outlen+1 is returned. Otherwise the length of the compressed string (less then or equal to outlen) is returned. int smaz_decompress(char *in, int inlen, char *out, int outlen); Decompress the buffer 'in' of length 'inlen' and put the decompressed data into 'out' of max length 'outlen' bytes. If the output buffer is too short to hold the whole decompressed string, outlen+1 is returned. Otherwise the length of the compressed string (less then or equal to outlen) is returned. This function will not automatically put a nul-term at the end of the string if the original compressed string didn't included a nulterm. CREDITS ------- Small was writte by Salvatore Sanfilippo and is released under the BSD license. Check the COPYING file for more information.
disque
Disque is a distributed message brokerkilo
A text editor in less than 1000 LOC with syntax highlight and search.smallchat
A minimal programming example for a chat serversds
Simple Dynamic Strings library for Clinenoise
A small self-contained alternative to readline and libeditdump1090
Dump1090 is a simple Mode S decoder for RTLSDR devicesneural-redis
Neural networks module for Redislamernews
Lamer News -- an HN style social news site written in Ruby/Sinatra/Redis/JQueryhping
hping network toolrax
A radix tree implementation in ANSI Cbotlib
C Telegram bot frameworkload81
SDL based Lua programming environment for kids similar to Codeadisque-module
Disque ported as Redis moduleprotoview
Flipper Zero app to display known and unknown signalsshapeme
Evolve images using simulated annealingaocla
A small stack based, written to bring Advent of Code 2022 Day 13 puzzle to the extreme consequencesretwis
A Twitter-toy clone written in PHP and Redis, used in the early days to introduce Redis data types.lua-cmsgpack
A self contained Lua MessagePack C implementation.freakwan
A MicroPython driver for the SX1276 LoRa chipotree
a simple btree implementation with automatic space reclaimingredis-sampler
Small program to understand the composition of your Redis data setredis-rb-cluster
Redis Cluster Ruby client based on redis-rbstonky
Stock market Telegram botRESP3
RESP protocol V3 repository. Contains the specification, and other related resourceredlock-rb
Redlock Redis-based distributed locks implementation in Rubylloogg
LLOOGG realtime web log analyzerredis-timeseries
Ruby library for Redis backed time series.redis-tools
Abandoned project "Redis tools". What was relevant is now part of redis-cli & redis-benchmarkpngtostl
Turn PNG images into STL 3D models that will "develop" in front of a light sourceiconping
Icon Ping - visual ping to 4.2.2.2jsrt
Javascript ray tracing engineadventofcode2022
A few Advent of Code puzzles (2022 edition) in Credimension
Redis multi-dimensional query librarygopher2redis
A Ruby script that translates a directory structure and its files into the Redis keys to be served via Redis Gopher protocolmc-benchmark
Memcache port of Redis benchmarklistpack
A serialization format and implementation for backward-traversable lists of strings.visitors
Visitors fast web log analyzerBigdis
Bigdis - a file-based KV store speaking the Redis protocolbook-examples
Redis The Definitive Guide book code examplesflipper-asteroids
Asteroids for Flipper ZeroGitan
Gitan is a very basic web interface to create and inspect bare git repositoriesaspark
ASCII sparklines for the EnterpriseJim
Jim is a small footprint Tcl interpreter, with some changes to the original language but mostly compatible.nolate
NO LAme TEmplate System for Rubyrecidiv
minimal continuous integration framework written in Tcl (used for Redis CI)tclircd
An IRC server I wrote in 2004 for fun, using the Tcl language.partitions
Partitions.tcl is a Tcl program to simulate partitions between physical hostsconnect4-montecarlo
Simple connect 4 AI using Monte Carlo methodtalk32
C program to talk via serial to MicroPython powered ESP32 boardsfailed-3d-prints-bot
A Telegram bot that detects failed prints and send you an image of your printeriqmeteo
Meteo widget for the Garmin Vivoactive HR powered by Yahoo Weather APIsiphash
A modification of SipHash reference implementation to make it more practical for Redis usageyaku-ns
a DNS server I wrote 10 years ago. Here for historical reasonsredisdotphp
Legacy Redis PHP client lib. A best-effort support repository.strabo
Turns HGT elevation maps into 2D images or 3D modelsnn-2003
2003 Neural Networks experiments -- when it was not mainstream ;-)zx2040
RP2040 ZX Spectrum emulatorcrack-checksum
Find checksum (crc8, xor, add) parameters in a set of messages.hiredis
WARNING: hiredis repository moved to http://github.com/redis/hiredis. Just my private fork.dict-scan-fuzz-tester
Fuzz testing for the SCAN underlying algorithmSiboom
A simple markup system for writing books draftssbignum
Old code about C library for big numbers plus Tcl bindingscodakido
Redirects to Load81 projectredis-cp-rewrite-sim
Redis/Raft snapshotting rewriting simulationcache-mem-tester
Test memory efficiency of Redis / Memcached against values with a given size distribution.rascan
A prototype for a multi processes port scanner I wrote in 1998. Here only to archive it for myself.LLM-FTC-sampling
First token cutoff sampling inference examplemicropython-telegram-bot
MicroPython telegram bot library: simple way to put your IoT projects on the cloudbma423-pure-mp
Pure MicroPython BMA423 accelerometer drivert-watch-s3-micropython
Minimal MicroPython programming example for the Lilygo T-WATCH S3simple-language-model
Code for the video on feed-forward language modelgif-pure-tcl
Pure TCL GIF generatorbme680-pure-mp
Pure MicroPython Bosch BME680 sensor driveruc8151_micropython
UC8151 / IL0373 MicroPython e-paper display driver with support for greyscales and fast updatesvl53l0x-nb
Fork of MicroPython driver for vl53l0x TOF sensor to add non-blocking mode.micropython-ft6x06
Simple driver for FT6x06 capacitive touch sensor in pure PythonLove Open Source and this site? Check out how you can help us