David Amador on Nostr: yeah even c++ has this. I guess you could also reserve the required amount before the ...
yeah even c++ has this. I guess you could also reserve the required amount before the loop, if large might make the difference in allocating all mem required right away
Published at
2024-06-20 17:34:51Event JSON
{
"id": "508602c36c4c5068b4b9227c9e3e19a1d774759d7d3e5423c3d0ca6acbe4c61b",
"pubkey": "68adf8b3b926a7e5e88ea91652653170e4f309bb5741bd10b6868d5ce218e3df",
"created_at": 1718904891,
"kind": 1,
"tags": [
[
"e",
"11fa380ac2416c27eeab00be19830f5db58ab4ab008c53714d4f06c42b7e4f74",
"",
"root"
],
[
"p",
"582a41c6eca3d12c80acd248a7c8f3070c83c859b9ac1739cbecc074cf09a747"
],
[
"proxy",
"https://mastodon.gamedev.place/@djlink/112650150959533712",
"web"
],
[
"proxy",
"https://mastodon.gamedev.place/users/djlink/statuses/112650150959533712",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.gamedev.place/users/djlink/statuses/112650150959533712",
"pink.momostr"
]
],
"content": "yeah even c++ has this. I guess you could also reserve the required amount before the loop, if large might make the difference in allocating all mem required right away",
"sig": "426d545485c6e1649acc613e6ca9f40d083deeb5c9cde6b3a24825d7891268aa5dcb409a5e36d56d5955b4c069d45c3972c8f591d58321563cacac8c50b83f5b"
}