[Cdash] ITK appears in GDCM cdash

Brad King brad.king at kitware.com
Thu Sep 3 12:23:51 UTC 2009


Julien Jomier wrote:
> Amitha Perera wrote:
>> Do you need a small integer?  You should really use a well known
>> hashing algorithm, like SHA. I think even the 160-bit SHA-1 should be
>> good enough for CDash.
> 
> The main issue is speed. For every test submitted we check if the
> computed crc32 is already in the database, if not we insert the new
> test. Comparing string is usually very slow for SQL queries, that's why
> crc32 was a good fit. Can SHA-1 (or other algorithms) return an integer?

All these hash algorithms return integers...just ones that have many bits.
It is only a convention that they are written with characters for human
reference.

How big can SQL's integers be?  Can you store four 64-bit integers?

-Brad



More information about the CDash mailing list