Re:“Clean” Code, Horrible Performance
by muricula on Tuesday February 28, 2023 @04:11PM
(#34974905)
The enum to tell what shape an object is costs something, probably 4 bytes.
Storing the 8 byte vtable constant isn't so bad considering.
[ Parent
| on HN ]
Re:“Clean” Code, Horrible Performance
by adamrezich on Wednesday March 01, 2023 @03:40PM
(#34987994)
looking at a value is faster than dereferencing a pointer—why is this controversial?