<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/1.5.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Linkers part 18</title>
	<link>http://www.airs.com/blog/archives/55</link>
	<description>Ian Lance Taylor</description>
	<pubDate>Tue, 18 Nov 2008 21:55:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.2</generator>

	<item>
 		<title>Comment on Linkers part 18 by: Ian Lance Taylor</title>
		<link>http://www.airs.com/blog/archives/55#comment-5028</link>
		<pubDate>Tue, 09 Oct 2007 06:14:14 +0000</pubDate>
		<guid>http://www.airs.com/blog/archives/55#comment-5028</guid>
					<description>I would be concerned that using hashes would be too slow, since it would force the linker to actually read the input file.  Certainly the linker should not only incrementally link newer files; it should incrementally link any file which has changed in any way at all.  That is, think of the timestamp as a very high efficiency hash.  It would be easy and appropriate to also check that the size hadn't changed, and, on Unix, that the inode was the same.</description>
		<content:encoded><![CDATA[	<p>I would be concerned that using hashes would be too slow, since it would force the linker to actually read the input file.  Certainly the linker should not only incrementally link newer files; it should incrementally link any file which has changed in any way at all.  That is, think of the timestamp as a very high efficiency hash.  It would be easy and appropriate to also check that the size hadn&#8217;t changed, and, on Unix, that the inode was the same.
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Linkers part 18 by: Joe Buck</title>
		<link>http://www.airs.com/blog/archives/55#comment-5021</link>
		<pubDate>Tue, 09 Oct 2007 04:12:32 +0000</pubDate>
		<guid>http://www.airs.com/blog/archives/55#comment-5021</guid>
					<description>If you ever implement this, please use hashes rather than timestamps (at least as an option). Otherwise there are too many ways to break things; if the .o file is older, but different, the incremental linker still needs to run.  Luckily I don't have to use ClearCase anymore, where it was easy for time stamps to move backward.</description>
		<content:encoded><![CDATA[	<p>If you ever implement this, please use hashes rather than timestamps (at least as an option). Otherwise there are too many ways to break things; if the .o file is older, but different, the incremental linker still needs to run.  Luckily I don&#8217;t have to use ClearCase anymore, where it was easy for time stamps to move backward.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
