centralized performance resources

This commit is contained in:
Barrett Ruth 2026-01-10 12:21:52 -05:00
commit 50b15a1522
63 changed files with 328466 additions and 0 deletions

15
ocw/bit-hacks/structop.cc Normal file
View file

@ -0,0 +1,15 @@
#include <cstddef>
#include <iostream>
struct S {
char b;
int i;
};
int main() {
S s;
std::cout << offsetof(S, i) << '\n';
return 0;
}