SortedSet NIF is a performant and reliable sorted set data structure for Elixir, implemented in Rust using the Rustler crate to take advantage of native performance while maintaining seamless integration with the BEAM ecosystem. It provides ordering and uniqueness guarantees, with all terms stored according to Elixir’s built-in sorting rules. Internally, it uses a vector of vectors layout rather than a single vector to minimize costly reallocations, allowing efficient bucket pointer copying instead of expensive term copying during growth. This design achieves a balance between performance and simplicity, and developers can customize bucket sizes for specific workloads, with a default of 500 offering solid performance across common scenarios. SortedSet extends beyond traditional set semantics by providing indexing, random access, and slice operations thanks to its deterministic ordering.

Features

  • SortedSet implementation following Elixir sorting rules
  • Guarantees uniqueness (no duplicate items)
  • Supports index reporting when adding/removing items
  • Provides random access to items and slices
  • Optimized with Rustler crate for high-performance NIF integration
  • Customizable bucket sizes for performance tuning

Project Samples

Project Activity

See All Activity >

Categories

Data Management

License

MIT License

Follow Discord.SortedSet

Discord.SortedSet Web Site

Other Useful Business Software
Skillfully - The future of skills based hiring Icon
Skillfully - The future of skills based hiring

Realistic Workplace Simulations that Show Applicant Skills in Action

Skillfully transforms hiring through AI-powered skill simulations that show you how candidates actually perform before you hire them. Our platform helps companies cut through AI-generated resumes and rehearsed interviews by validating real capabilities in action. Through dynamic job specific simulations and skill-based assessments, companies like Bloomberg and McKinsey have cut screening time by 50% while dramatically improving hire quality.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Discord.SortedSet!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Elixir, Rust

Related Categories

Rust Data Management System, Elixir Data Management System

Registered

2025-09-27