summaryrefslogtreecommitdiff
path: root/ext/IO
diff options
context:
space:
mode:
authorGisle Aas <aas@bergen.sn.no>1997-02-05 14:42:49 +0100
committerChip Salzenberg <chip@atlantic.net>1997-02-11 07:29:00 +1200
commit4d335c471cacb999603dc9b7dc6d3712051dbb6c (patch)
tree25b18fb7d338d5615e8a0bfadc4517a23e7e3873 /ext/IO
parent778183f34c6f9006721e20db0af0805a4bcb0227 (diff)
downloadperl-4d335c471cacb999603dc9b7dc6d3712051dbb6c.tar.gz
Faster File::Compare
The following optimization speeds up File::Compare with 30% on my machine (in a test where most files in fact were different). One could perhaps also optimize the situation where the two files are the same thing. Is it portable to compare (stat)[0,1] for the two files and return 0 if these two numbers are equal? p5p-msgid: <199702051342.OAA02753@bergen.sn.no>
Diffstat (limited to 'ext/IO')
0 files changed, 0 insertions, 0 deletions