text-rope
A wrapper around Text for fast line/column navigation and logarithmic concatenation (by Bodigrim)
linear-builder
Strict Text and ByteString builder, which hides mutable buffer behind linear types and takes amortized linear time. (by Bodigrim)
Our great sponsors
text-rope | linear-builder | |
---|---|---|
2 | 5 | |
36 | 87 | |
- | - | |
2.8 | 7.1 | |
3 days ago | 8 days ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
text-rope
Posts with mentions or reviews of text-rope.
We have used some of these posts to build our list of alternatives
and similar projects.
linear-builder
Posts with mentions or reviews of linear-builder.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-05.
- New release of Builder with linear types, now renderable both to Text and ByteString
-
High-Performance Haskell?
Another interesting area of performance optimisation is linear types. It's already possible to take advantage of them in libraries https://github.com/Bodigrim/linear-builder with real world performance gains and in the future in GHC. More about this here https://www.reddit.com/r/haskell/comments/5z6mxb/linear_types_make_performance_more_predictable/?utm_source=share&utm_medium=ios_app&utm_name=iossmf
- Linear Text Builder: up to 20x faster than alternatives
-
Strict Text builder with linear types, up to 10x faster than Data.Text.Lazy.Builder
I've been toying with a strict Text builder, backed by linear types, and benchmarks look very good, up to 10x faster than Data.Text.Lazy.Builder. I'd like to collect more feedback before releasing it, so I'd appreciate people taking a look at https://github.com/Bodigrim/linear-builder/ or rendered haddocks.
-
Seeking feedback for Text Builder with linear types
I've been playing around with linear types, attempting to design a strict Text builder. Admittedly I know too little about both topics, so I'd appreciate some feedback about my ramblings, because benchmarks look suspiciously good: https://github.com/Bodigrim/linear-builder/
What are some alternatives?
When comparing text-rope and linear-builder you can also consider the following projects:
emoji - emoji utility for haskell
linear-base - Standard library for linear types in Haskell.
text - Haskell library for space- and time-efficient operations over Unicode text.
text-short - Memory-efficient representation of Unicode text strings
countwords - Playing with counting word frequencies (and performance) in various languages.