Skip to content

Instantly share code, notes, and snippets.

View raulbajales's full-sized avatar
🏠
Working from home

Raul Bajales raulbajales

🏠
Working from home
View GitHub Profile
@raulbajales
raulbajales / CompareMD5AndMurmur.java
Created May 2, 2011 14:51
MD5 and Murmur hashing algorithms performance comparison -> Murmur WIN
package com.hashcomparisons;
import java.security.MessageDigest;
import java.util.Random;
import org.apache.commons.lang.RandomStringUtils;
public class CompareMD5AndMurmur {
public static void main(String[] args) {
String[] strings = generateRandomStrings(300, 50, 500);