[Unison-hackers] [unison-svn] r508 - in trunk: doc src

Jerome Vouillon Jerome.Vouillon at pps.jussieu.fr
Wed Sep 19 13:39:44 EDT 2012


On Wed, Sep 19, 2012 at 08:50:17AM -0400, Benjamin C. Pierce wrote:
> 
> On Sep 19, 2012, at 6:30 AM, Jerome Vouillon wrote:
> 
> > On Fri, Sep 14, 2012 at 11:45:39AM -0400, Benjamin Pierce wrote:
> >> And then just assume that anybody compiling the beta or developer
> >> versions is going to be using OCaml 4? Yes, that might be a
> >> reasonable compromise.
> > 
> > In fact, we should probably make the same change to the beta and
> > developer versions as well. It will take some time before everyone
> > switch to OCaml 4 (in particular, it is still not in Debian)…
> 
> That effectively means we'll stick with the old hash algorithm
> forever, I guess.

We can change it any time we bump the major version number.
And this can be as simple as changing a single function definition.

> Is that fine, or is the new one a lot better?

The new one is much better, but we do not need a good hash function
for comparing archives. Even with a pretty bad hash function, I
believe we can detect with a high probability any archive mismatch.

-- Jerome


More information about the Unison-hackers mailing list