John Regehr on Nostr: and, hilariously, the crappy codegen persists if we create a std::vector<char> and ...
and, hilariously, the crappy codegen persists if we create a std::vector<char> and use an integer index as the tape pointer.
but a std::vector of structs each containing only a char has decent codegen 😂
Published at
2024-09-13 22:36:16Event JSON
{
"id": "a4d09c30e7b225ce47de294936a39f9525d4387295eb4a5b268dc5f84eace3f2",
"pubkey": "c8eb06af5f49cb42cc3107d8c5659e3d8849b4ce57c58f717ac3e9c0ef79f53d",
"created_at": 1726266976,
"kind": 1,
"tags": [
[
"e",
"9a596f4747f069a3647c76d293bd4a906842f350bfa0d38ef6c8ddcdeedc4fe6",
"",
"root",
"c8eb06af5f49cb42cc3107d8c5659e3d8849b4ce57c58f717ac3e9c0ef79f53d"
],
[
"proxy",
"https://mastodon.social/@regehr/113132632562524235",
"web"
],
[
"p",
"c8eb06af5f49cb42cc3107d8c5659e3d8849b4ce57c58f717ac3e9c0ef79f53d"
],
[
"proxy",
"https://mastodon.social/users/regehr/statuses/113132632562524235",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/regehr/statuses/113132632562524235",
"pink.momostr"
],
[
"-"
]
],
"content": "and, hilariously, the crappy codegen persists if we create a std::vector\u003cchar\u003e and use an integer index as the tape pointer. \n\nbut a std::vector of structs each containing only a char has decent codegen 😂",
"sig": "b36cca743b1266069d63fc295c8798b5c896cd8fd8c08d0901e022a215c6d75985452d85c516af2ad0626454f03c6d45d59d4917731dde41f99aaa420866b3ce"
}