Perma on Nostr: I have been trying 1 Billion Row Challenge, but only counting lines. In Go and in ...
I have been trying 1 Billion Row Challenge, but only counting lines.
In Go and in Rust.
But I cannot figure out why my Rust version is slower than my Go version by a factor of 3!
#rustlang #rust #go #golang
Published at
2024-06-26 11:07:49Event JSON
{
"id": "d24746a77210b6629c8859e05de5d124a67a420acb9a62cef77e436dc4fe52e7",
"pubkey": "218197aaa7c2def9701886ffab71b45799a3fcca08209aa4563ecbae6aea9a04",
"created_at": 1719400069,
"kind": 1,
"tags": [
[
"t",
"rustlang"
],
[
"t",
"rust"
],
[
"t",
"go"
],
[
"t",
"golang"
],
[
"proxy",
"https://fosstodon.org/users/prma/statuses/112682602979983062",
"activitypub"
]
],
"content": "I have been trying 1 Billion Row Challenge, but only counting lines.\nIn Go and in Rust.\n\nBut I cannot figure out why my Rust version is slower than my Go version by a factor of 3!\n#rustlang #rust #go #golang\n\nhttps://cdn.fosstodon.org/media_attachments/files/112/682/596/972/220/236/original/8211b58d2daddafb.png\n\nhttps://cdn.fosstodon.org/media_attachments/files/112/682/601/895/748/888/original/51600b4e00573232.png",
"sig": "a249d6218a53d3f96e7fa8449d04e6d792e2954231584e0c4466406864df85045a513091af9e0a4f3fb85bdf169c031ed0bf91edfbd24d2f3712ae0fec0dd58c"
}