Follow me on Twitter at Twitter.com/wbm
FYI, I'm blogging most of my stuff over at More Wally now.
You might want to add my rss feed to your reader at:http://morewally.com/cs/blogs/wallym/rss.aspx
HashCode - Wallace B. McClure

Wallace B. McClure

All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, MonoTouch for iPhone, MonoDroid for Android, and Windows Azure.

News

Personal Blog

Work Blog

.NET

Book Authors

Business

Family

Friends

Georgia Tech Bloggers

Personal

Archives

HashCode

Several years ago, I had written my own little hashcode for my web search spider.  I checked the performance on my 64 bit system, and to put it mildly, it was horrible.  I was talking to Dave Wanta this week and he reminded me of the Hashing support in .NET.  I had completely forgotten about it.  I yanked out my hash code and used the hasing in .NET.  I got better performance using the hashcode in .NET when inserting into the database.  I believe that my code did not provide a good spread to effectively use the database indexes that I had setup.  By going to the .NET hash support, I think I was able to get a better spread for my indexing system and was able to get rid of a database hotspot.  Right now, I am trying to see how many records it will support.

Comments

Guy Murphy said:

I'll try and remember to post some code when I get home...

For a couple of reasons I ended up testing a couple of hash code routines under .NET a couple of years ago for both performance and collision. I'll try and post the code, I know I still have it lurking around somewhere.
# January 16, 2006 4:58 AM

nsenor said:

so, for the programming starter, where in this wide world of nerds kind i find a place where someone can give me an idiot's preview of what hash, ...code, ...table etc. is all about and why i keep getting distracted by them every time i'm browsing language documentations.

# December 28, 2007 4:07 AM

Mark Nongkhlaw said:

Wallym, I'd love to hear how you can implement a .NET hash (preferably a salted SHA1 type) on the client and validate it on the server against a database field, say a password field which stores password in SHA1 format with a salt. Please email me at mark.nongkhlaw@nic.in

# June 5, 2008 9:54 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)