Mask bits in pointers
Posted Mar 30, 2007 21:19 UTC (Fri) by
proski (subscriber, #104)
In reply to:
Mask bits in pointers by ldo
Parent article:
Deferrable timers
Casting a pointer to unsigned int would cause at least a warning on 64-bit systems. And I'm not convinced that avoiding an extra field in struct tvec_t_base_s by using pointer arithmetics would offer any advantage either in memory requirements or in speed.
(
Log in to post comments)