# Fast integer compression library in C

> A very fast scalar implementation for Frame Of Reference integer compression.

Page: https://nowfound.app/launch/fast-integer-compression-library-in-c

- Launched: 2015-06-14
- Launch-day votes: 45, 7 comments; #1,183 of 3,369 launches that month (top 35%)
- Website: [github.com](https://github.com/cruppstahl/for/tree/master), online when checked 2026-09-19
- Category: [Life & fun](https://nowfound.app/c/life-and-consumer.md)
- Pricing: Free. Free and open source (checked 2026-11-24 on its site)
- Forecast: 87% chance its website is still online in November 2031 (98% in November 2027, 93% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2015: 76%. [Method](https://nowfound.app/forecast.md)
- Originality: 89/100 (original). More original than 89% of products launched in 2015. On its launch day the archive held no similar products; 1 product like it has launched since.

## In plain words

libfor is a C library that compresses integers using Frame Of Reference encoding, a technique that reduces storage size by representing numbers relative to a base value. It's designed for developers who need fast, efficient integer compression in their applications. The library uses a scalar implementation optimized for speed, making it suitable for performance-critical systems that handle large datasets.

_Written by AI from its launch page and website, 2026-09-22._

## What it does, from its own words

A very fast scalar implementation for Frame Of Reference integer compression. - cruppstahl/libfor

## Does a similar job

- [libcodr7](https://nowfound.app/launch/libcodr7-fundamental-collections-in-the-spirit-of-c): fundamental tools in the spirit of C. (2019-12-30, 67 votes, free, forecast: 89% online in 2031, github.com)
- [TurboPFor](https://nowfound.app/launch/turbopfor-bringing-fastest-integer-compression-incl-simd-to): Fastest Integer Compression. (2015-06-17, 14 votes, free, forecast: 84% online in 2031, github.com)
- [Smart pointers for the C programming language](https://nowfound.app/launch/smart-pointers-for-the-c-programming-language): Smart pointers for the (GNU) C programming language (2015-01-14, 126 votes, free, forecast: 89% online in 2031, github.com)
- [A 166 KB file for cross compiling glibc for any](https://nowfound.app/launch/a-166-kb-file-for-cross-compiling-glibc-for-any-version-any): A repository that collects libc ABI files for multiple versions and a tool to combine them into one dataset. (2021-12-13, 171 votes, free, forecast: 97% online in 2031, github.com)
- [Integer Map Data Structure](https://nowfound.app/launch/integer-map-data-structure): This project presents a new data structure for storing ordered integer maps. The proposed data structure is a compressive, cache-friendly, radix tree that has performance comparable to an unordered m… (2024-01-25, 91 votes, free, forecast: 95% online in 2031, github.com)
- [A hash array-mapped trie implementation in C](https://nowfound.app/launch/a-hash-array-mapped-trie-implementation-in-c): Long-simmering side project that is finally ready to see the light. HAMTs are a cool persistent data structure and implementing one has been a lot of fun. Beyond the code, there is likely some value… (2023-07-10, 171 votes, free, forecast: 94% online in 2031, github.com)

All alternatives: https://nowfound.app/alternatives/fast-integer-compression-library-in-c.md

## For the maker of Fast integer compression library in C

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/fast-integer-compression-library-in-c
- Free: put the badge on the product's own site and it joins Featured products after the paid spots, and this page links to the site with a normal link search engines follow. HTML for the footer: `<a href="https://nowfound.app/launch/fast-integer-compression-library-in-c"><img src="https://nowfound.app/badge/fast-integer-compression-library-in-c.svg" alt="Fast integer compression library in C on NowFound" height="32"></a>`

Source: [Show HN post](https://news.ycombinator.com/item?id=9716087)
