6 ms·
That turns the address from a compile-time constant into a pointer. This function is used tens of millions of times a second, so that cost would add up. I cover
by byuu 10y ago
That turns the address from a compile-time constant into a pointer. This function is used tens of millions of times a second, so that cost would add up. I covered this in my initial post, though :/
- bonzini 10y agoOn glibc you could use ifunc to patch the address at run-time.