Skip to content

carloosaf/grope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gropes ⭐🪢

Package Version Hex Docs

Gropes is an implementatation of the rope data structure in Gleam.

Why did I make this?

This is a mainly a learning exercise, i found the rope data structure to be a simple project to learn the basics of Gleam. This means the support for this project may be limited, but I hope that it will be useful to someone.

Objectives

  • Implement the rope data structure and its basic operations
    • from_string
    • concat
    • value
    • length
    • slice
    • at_index
    • insert
    • rebalance
  • [-] Benchmark the implementation against the standard library String
    • Compare different rebalancing strategies
    • Determine whether Ropes are worth the effort in a language without manual memory management
    • Optionally: Create a cool 🤩 visualization of the performance of different rebalancing strategies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages