Re: [go-nuts] Re: Duplicate File Checker Performance

2016-10-21 Thread Sri G
g-nuts > > *Cc: *> > *Subject: *Re: [go-nuts] Re: Duplicate File Checker Performance > > > > This isn't exactly the same because I deleted some files but it shouldn't > really matter. > > > > Switched to md5.. > > > > --- a/dup.

Re: [go-nuts] Re: Duplicate File Checker Performance

2016-10-16 Thread Michael Jones
Oh, I see. Well if you must read and hash every byte of every file then you really are mostly measuring device speed. From: on behalf of Sri G Date: Sunday, October 16, 2016 at 12:17 PM To: golang-nuts Cc: Subject: Re: [go-nuts] Re: Duplicate File Checker Performance This isn&#

Re: [go-nuts] Re: Duplicate File Checker Performance

2016-10-16 Thread Sri G
This isn't exactly the same because I deleted some files but it shouldn't really matter. Switched to md5.. --- a/dup.go +++ b/dup.go @@ -3,7 +3,7 @@ package main - "crypto/sha256" + "crypto/md5" @@ -207,8 +207,8 @@ func main() { +type Hash [16]byte // appropriate for MD5 +// type

Re: [go-nuts] Re: Duplicate File Checker Performance

2016-10-16 Thread Michael Jones
Sri G, How does this time compare to my “Dup” program? I can’t test for you…since it is your filesystem…but I thought I had it going about as fast as possible a few years ago when I wrote that one. https://github.com/MichaelTJones/dup Michael From: on behalf of Sri G Date: Satu