interesting learning of the day

For general rambling.
Post Reply
Jonathan
Grand Pooh-Bah
Posts: 6722
Joined: Tue Sep 19, 2006 8:45 pm
Location: Portland, OR
Contact:

interesting learning of the day

Post by Jonathan »

Linux (well, at least my 2.6 kernel) tests several different possible code paths for memset() during boot, and dynamically links the fastest one. If you statically link, however, you get the bog standard one regardless of which one is fastest.

Knowing is half the battle!

Post Reply