[Ecls-list] Name of init function.

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Fri May 30 21:23:35 UTC 2008


On Fri, May 30, 2008 at 9:13 PM, Waldek Hebisch
<hebisch at math.uni.wroc.pl> wrote:
> Looking at other build logs I see that ECL used the same prefix
> _eclIQwoAUxR6I1_ for several other files.  I wonder why ECL is using
> so short names (only 18 variable characters in the name).

It does not make sense to use more, because ECL is using a hash key
which is produced with the usual hashing routines in the library.
Hence, it cannot be larger than 32/64 bits, depending on the platform.
Now, it seems that the hash key for the pathname (which makes the
"prefix" or first half of the name) is not good enough. But what is
shocking is that the universal time (makes the second half) is not
different from one to another. You have a too fast computer :-)

> Also, given
> relative shortness of the name using strong hash which mixes well
> all ingredients seem preferable compared to current method which
> seem to separately encode components.

As I said, it is not just concatenation, there is hashing involved.
But perhaps I have not made proper use of the hash routine when
composing the different elements in the pathnames.

Juanjo

-- 
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list