4 ms·
The default String type is a linked list of characters, which means various things are slower than they should be.
by vmchale 7y ago
The default String type is a linked list of characters, which means various things are slower than they should be.
- marcosdumay 7y agoHum... Yes. String is there for historical reasons that turned out to be a bad fit to what Haskell became. But there is no reason to use it. Text does everything String does.