Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
GarrisonJ committed Jun 13, 2024
1 parent 4cc616c commit bd87ef8
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@

[![Gem Version](https://badge.fury.io/rb/sorted_containers.svg)](https://badge.fury.io/rb/sorted_containers)

SortedContainers is a fast implementation of sorted arrays, sets, and hashes in pure Ruby. It is based on the [sortedcontainers](https://grantjenks.com/docs/sortedcontainers/) Python library by Grant Jenks.
SortedContainers is a fast implementation of sorted arrays, sets, and hashes in pure Ruby.

- SortedArray, SortedSet, and SortedHash
- Pure Ruby
- Fast Performance
- (almost) Identical API to Array, Set, and Hash
- No dependencies
- Benchmarks
- Unit Tested

This library is based on the [sortedcontainers](https://grantjenks.com/docs/sortedcontainers/) Python library by Grant Jenks.

SortedContainers provides three main classes: `SortedArray`, `SortedSet`, and `SortedHash`. Each class is a drop-in replacement for the corresponding Ruby class, but with the added benefit of maintaining the elements in sorted order.

Expand Down

0 comments on commit bd87ef8

Please sign in to comment.