uis on Nostr: Fancy assert that also allows optimizations. For example `if(n%4==0) ...
Fancy assert that also allows optimizations. For example `if(n%4==0) std::unreachable();` before loop where n is amount of iterations may allow compiler to remove autovectorization tail loop for SIMD4.
Published at
2024-04-07 22:50:19Event JSON
{
"id": "ad527da19a9e5fad706dd73fe20837fc4546d8415546a74d6f6c0f3dad553904",
"pubkey": "7da1a70cc0a5e7d1a74c40b309d16aa44c1b8ef9a2166081e8c088aab4d5a23a",
"created_at": 1712530219,
"kind": 1,
"tags": [
[
"e",
"ade944f1ba70a6193f5bc9ffbaed8a16b57a83874cd6eebe9f6fe6c31fa77e2d",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://pone.social/users/uis/statuses/112232380439759010",
"activitypub"
]
],
"content": "Fancy assert that also allows optimizations. For example `if(n%4==0) std::unreachable();` before loop where n is amount of iterations may allow compiler to remove autovectorization tail loop for SIMD4.",
"sig": "ec396a7266d0e5e0ab310a8db34b6ca6a5218e6fd14bd47e0579cd877d1456b0d8c02feb79bba783e31bf98b440acbd0ada6a1bce2a1815b3a130c50525cfa02"
}