Y
Hacker News
new
|
ask
|
show
|
jobs
by
pcwalton
3859 days ago
Yes, definitely true; sizeof(void *) and malloc slop aren't free.
1 comments
jheriko
3859 days ago
sizeof( void* ) is free at run-time.
if not then the compiler team should rethink their careers...
link
ctz
3859 days ago
I think the parent is saying that pointers need storage too and this can add up, not that sizeof expressions are computationally difficult :)
link
if not then the compiler team should rethink their careers...