Announcing crop, the fastest UTF-8 text rope for Rust

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • jumprope-rs

  • Jumprope author here. Thanks for the quick test! I just updated the benchmarks in jumprope/rope_benches to include Crop, and it looks to me like jumprope is about 2x faster than crop:

  • crop

    🌾 A pretty fast text rope

  • repo: https://github.com/noib3/crop

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • helix

    A post-modern modal text editor.

  • crop's documentation specifies that an ending line break does not result in a final empty line in crop's line-based APIs. I'm curious what the reasoning is behind this. Ropey very intentionally does count a final empty line in that case. Part of the reasoning for that is (somewhat incidentally, and thus incompletely) outlined in an issue I wrote up for Helix a couple of years ago. I'd be happy to go into the remainder of the reasoning if you'd like to hear it.

  • automerge-perf

    Performance tests for Automerge

  • The automerge folks have a real-life editing history of a large document in their benchmarks: https://github.com/automerge/automerge-perf

  • crdt-benchmarks

    Discontinued Real world text editing traces for benchmarking CRDT and Rope data structures [Moved to: https://github.com/josephg/editing-traces] (by josephg)

  • I have a few more real world editing traces that I use for jumprope in this repository: https://github.com/josephg/crdt-benchmarks

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts