Stefan Eissing on Nostr: "strlcpy and how CPUs can defy common sense" On a 512 byte string: openbsd: 242us ...
Published at
2024-07-26 10:21:47Event JSON
{
"id": "ff8263fce75e7cae1e56a19f4ea1a47c94f965d05b01adc171b0fe885d8466b0",
"pubkey": "f173ca7ed8f3adf61d35abb4915401c1d01b59463e62ab7afdac428612559580",
"created_at": 1721989307,
"kind": 1,
"tags": [
[
"proxy",
"https://chaos.social/users/icing/statuses/112852291244193188",
"activitypub"
]
],
"content": "\"strlcpy and how CPUs can defy common sense\"\n\nOn a 512 byte string:\nopenbsd: 242us\nglibc: 12us\n\nhttps://nrk.neocities.org/articles/cpu-vs-common-sense",
"sig": "fdf337ef74948b5eb21921a300c3b1d376d8fd0d3714d00f6159425c767ba56758f1ae5d9ccf72758dd9a677c1f9cdf813525c0305fb9b50c47911c11ad34716"
}