Hacker News new | ask | show | jobs
by pcwalton 3859 days ago
Yes, definitely true; sizeof(void *) and malloc slop aren't free.
1 comments

sizeof( void* ) is free at run-time.

if not then the compiler team should rethink their careers...

I think the parent is saying that pointers need storage too and this can add up, not that sizeof expressions are computationally difficult :)