-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Ultimate String Guide #7
Conversation
@hasufell, looks good! A couple of thoughts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice!
For an ultimate guide it would be great to mention:
|
@Bodigrim now I'm actually wondering what is the advantage of From what I understand:
The latter is a bit of a weak argument though, isn't it, given that you can just clone Did I miss anything? |
I'm also trying to figure out the exact memory overheads of all types. But I'm not very deep in that topic: https://gist.github.com/hasufell/61ca8ef438cc912e7446bcc7b1f25028 |
On a modern CPU
I wonder if https://hackage.haskell.org/package/weigh-0.0.17/docs/Weigh.html could be of any help. Also maybe try For lists we have list constructor tag (essentially, For |
Manuals for
Also it would be interesting to try https://github.com/def-/ghc-datasize |
TODO:
Rendered: https://github.com/hasufell/hasufell.github.io/blob/strings/posts/2024-05-07-ultimate-string-guide.md
(The html color codes in the UTF-8 table do not show)
@Bodigrim this isn't completely finished yet, but I would appreciate a review regardless.
Pinging a couple of other folks if they want to drop some comments: @tomjaguarpaw @mpilgrem @angerman @Ericson2314 @bgamari