Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
The .comment section is never loaded into memory so the only savings in this case is disk storage space.
All hail the speed demons (O'Reillynet)
Posted Nov 3, 2005 12:20 UTC (Thu) by ekj (subscriber, #1524)
First you save disk-space since the binaries gets smaller.
Secondly your program starts quicker since there is less data to read (even if they're not loaded, they're still read, and even if they're not read, then there's an extra seek to skip them, and even then the VFS migth decide to do readahead anyway and thus physically read and transfer to RAM parts of the file which your application never ever touches or reads.
OK, so it's probably not major. But it wouldn't surprise me if the measured speedup was quite measurable.
Posted Nov 4, 2005 13:28 UTC (Fri) by nix (subscriber, #2304)
Posted Nov 7, 2005 15:35 UTC (Mon) by lypanov (subscriber, #8858)
Posted Nov 7, 2005 23:37 UTC (Mon) by nix (subscriber, #2304)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds