How to Combine Hash Codes: GetHashCodeAggregate

added by tdupont
2/1/2014 4:30:50 PM

15 Kicks, 115 Views

How do you efficiently combine Hash Codes? When combining hash codes I started by generating a large string and then hashing that. However that was inefficient, so instead I applied a simple arithmetic solution. How much more efficient is this than string concatenation? TLDR: Very!


0 comments