That's OK. I don't even remember what I was talking about in my post. I think I was also writing a file comparison routine (basically handrolling my own stripped-down rsync). Since then I discovered
FreezeThaw, which has worked very nicely for me for hash comparisons.
I like computer programming because it's like Legos for the mind.