Skip to content

Commit

Permalink
add note before README performance benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuay03 committed Oct 4, 2024
1 parent b336cde commit b2e26b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ end

## Performance

> [!NOTE]
> Red-black trees serve a very specific purpose and are not a general-purpose data structure. This comparison is
provided to give an idea of the performance characteristics of the gem. For example, what the benchmarks below do not
account for is the self-balancing nature of the red-black tree.

### Sort and iterate 10,000 elements

```ruby
Expand Down

0 comments on commit b2e26b7

Please sign in to comment.