PJUllrich

PJUllrich / f_enum

Public

A drop-in Elixir library for Fast Enum operations on lists and binaries

14
1
100% credibility
Found Apr 13, 2026 at 10 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Elixir
AI Summary

FEnum offers a faster version of standard list processing tools for handling large collections of whole numbers, delivering big speed and memory savings.

How It Works

1
🔍 Discover Speed Booster

You hear about a handy tool that makes working with big lists of numbers way faster, like sorting or counting them quickly.

2
📦 Add It Easily

You include this speed tool in your project's setup list, and it prepares itself automatically.

3
✏️ Swap to Fast Version

In your code, you replace the usual slow ways of sorting or removing duplicates with the new speedy ones.

4
🚀 Feel the Speed

You run your program and see it fly through huge lists, up to 20 times faster with barely any memory used.

5
🔗 Chain for Extra Power

For several steps in a row, you wrap your numbers in a fast holder and keep everything speedy without slowing down.

🎉 Lightning Fast Wins

Now your number crunching handles millions effortlessly, saving time and making everything smooth.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 14 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is f_enum?

f_enum is a drop-in Elixir library that replaces the standard Enum module for blazing-fast operations on lists and binaries of 64-bit integers. It delivers up to 20x speedups on sort, uniq, and frequencies for large collections (n > 1000), with chain mode keeping data in Rust across pipelines to avoid list conversions. Packed binaries get zero-copy treatment, making it a drop elixir winner for integer-heavy workloads over f# enum alternatives.

Why is it gaining traction?

Developers swap Enum for FEnum with zero code changes and see immediate wins: 5-39x faster on benchmarks, near-zero memory use, and safe fallbacks for non-integers. Chain pipelines like sort |> uniq |> sum crush Enum on 1M elements, while binary support skips unpacking entirely. It's the drop in github gem for perf without rewriting—run its benches to verify.

Who should use this?

Elixir data engineers processing million-row analytics, simulation outputs, or sensor binaries where Enum.sort or frequencies lag. Backend devs in fintech or ML pipelines handling tick data or features as integer lists/binaries. Skip if your enums mix types or stay small.

Verdict

Solid drop-in perf boost for integer enums in Elixir, with killer benchmarks and clear docs. At 10 stars and 1.0% credibility, it's pre-1.0 maturity—prototype it for bottlenecks, but don't bet prod yet.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.