Hécate Moonlight on Nostr: Little #Haskell lessons from a debugging session: * Don't use the Read typeclass, it ...
Little #Haskell lessons from a debugging session:
* Don't use the Read typeclass, it is terribly slow
* Don't use Linked lists without understanding its cost
* Use Vector & Text.
Published at
2023-12-21 22:35:13Event JSON
{
"id": "d5dadc55ad7e0bcd40e763221dc7b7b3586cc6f66966cb20603a7ea2415375a1",
"pubkey": "4c1c094b2e0d8e45729fb8e45b9b8a564087fb066bcb147b7108764e04e003ac",
"created_at": 1703198113,
"kind": 1,
"tags": [
[
"t",
"haskell"
],
[
"proxy",
"https://merveilles.town/users/hecate/statuses/111620791577766034",
"activitypub"
]
],
"content": "Little #Haskell lessons from a debugging session:\n\n* Don't use the Read typeclass, it is terribly slow\n* Don't use Linked lists without understanding its cost\n* Use Vector \u0026 Text.",
"sig": "9a64936cc3a27b5e9d5807ab0e5aefd83ca214a627288bfd71fee6484749c68a46cfb339b90600679bd141377472d53a567c107fab1049faa4753a8dee1dc54d"
}