text
Haskell library for space- and time-efficient operations over Unicode text. (by haskell)
time
A time library (by haskell)
Our great sponsors
text | time | |
---|---|---|
13 | 1 | |
395 | 118 | |
0.5% | 0.0% | |
8.4 | 7.2 | |
about 9 hours ago | 8 days ago | |
C++ | Haskell | |
BSD 2-clause "Simplified" License | BSD 2-clause "Simplified" 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
Posts with mentions or reviews of text.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-25.
- Super Colliding Nix Stores: Nix Flakes for Millions of Developers
-
The Spinnaker Programming Language
String is a linked list of UTF-32 codepoints, which is just as bad as it sounds. Haskell programmers usually use Text from the text package instead.
-
[ANN] GHCup-0.1.19.0 released
This is the first release that was executed via the new GitHub CI. Everything went smoothly, except for an unexpected packaging bug on windows due to text-2.0 linking against libstdc++ by default.
-
Limits of possible performance improvements of Haskell/GHC code?
In addition to what's mentioned, the "default" libraries people use are often not the best-performing ones. E.g. Data.Vector.Hashtables is often much faster than Data.HashMap.Strict (which again is typically faster than Data.Map). And we find performance papercuts in common libraries that may simply be due to not enough people optimising for speed.
-
What is the idiomatic way to test "hidden" module functions in a Cabal project
Used by nearly every Haskell project: https://hackage.haskell.org/package/text 60% of the modules are ".Internal".
- Monthly Hask Anything (June 2022)
-
Haskell - Important Libraries
text
-
Switch internal representation to UTF8 by Bodigrim · Pull Request #365 · haskell/text
Here is a representative patch for text: https://github.com/haskell/text/pull/365/commits/37a2157245457a287d638bbceb472fe93b71f224 Hopefully it clarifies why achieving C performance is problematic even if you have enough primitive operations.
-
Monthly Hask Anything (January 2021)
u/snoyberg laments here that a consequence of Text using unpinned memory is that the FFI can't operate directly on it. However, there do appear to be some places where foreign imported functions are called on the underlying unpinned ByteArray# (see how Text.copy calls this).
time
Posts with mentions or reviews of time.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-24.
What are some alternatives?
When comparing text and time you can also consider the following projects:
attempt - Concrete data type for handling extensible exceptions as failures.
base58string - Bitcoin script compilation, manipulation and decompilation
rrule - Recurrence rule parser and formatter
algebraic-classes - Conversions between algebraic classes and F-algebras.
text-trie - An efficient finite map from Text to values, based on bytestring-trie.
gps2htmlReport - Generates a HTML page report detailing a GPS journey, with charts, statistics and an OpenStreetMap graphic.
text-binary - Binary instances for strict and lazy Text data types
CTRex - Open records for Haskell
text-ansi
timestamp
leetify - Leetify some text!
data-foldapp - Haskell library for folding function applications. A framework for variadic functions.