← Back to team overview

instant team mailing list archive

Re: Rewritten code

 

On Tue, Sep 02, 2008 at 10:51:50PM +0200, kent-and@xxxxxxxxx wrote:
> > 2008/9/2 Anders Logg <logg@xxxxxxxxx>:
> >> On Tue, Sep 02, 2008 at 10:27:18PM +0200, Martin Sandve Alnæs wrote:
> >>> 2008/9/2  <kent-and@xxxxxxxxx>:
> >>> >
> >>> >>
> >>> >> I'll fix the numarray/Numeric code although I
> >>> >> guess nobody uses it.
> >>> >>
> >>> >
> >>> > Both Numeric and numarray work on my machine, but the test examples
> >>> used the
> >>> > same cache_dir and this caused trouble.
> >>> >
> >>> > Kent
> >>>
> >>> Then the bug is really in the cache mechanism: we must add more
> >>> stuff to the cache_md5sum. If cache_dir isn't provided manually,
> >>> the default instant cache dir should always work transparently.
> >>
> >> Should we use SHA-1 instead of MD5? It would be enough to use the
> >> first 10 characters of the SHA-1 hash (which is what Mercurial uses
> >> for changesets I think) or we could do all 40.
> >>
> >
> > Ok.
> 
> Fine by me, what is good with SHA-1 ?
> 
> Kent

Less chance of mapping two strings to the same hash.

Then there's also SHA-2 and in a few years there will be SHA-3...

-- 
Anders

Attachment: signature.asc
Description: Digital signature


References