So I was playing Yahtzee with some people while vacationing in Europe (WHAAAAAT, Yahtzee is a fun game!), and I started thinking what it would take to make a video game of it. I wasn't thinking about making a full release with all the bells and whistles, but just the guts.

Read more for source code.

Ok they don't suck, but I have managed to make some improvements on them. I'm currently in the process of rebuilding my personal base library. I'm trying to do it 'right' this time by adding unit tests and making everything simple and readable above all else. I've gotten to the point where I'm writing a String class. In the past I used the C++ style '<<' operators but I find them cumbersome for generating proper formatting. There is a lot of flexibility in the good old printf function (i.e. %10.10s). In this article I aim to show the (minor) deficiencies of the current Printf functions and describe better methods.

So I'm sitting here, all proud about my success with Compile time hashing, and I'm thinking, does it actually work? Short answer, not so much.

The good news is I fixed it and made it quite useful.

Have you ever wanted a nice system for being able to reference assets by name but you don't want to pay the price of comparing strings or constantly hashing (crc-ing) strings at runtime?

Now you can have best of both worlds. I've looked into various forms of hashing and making use of different techniques to find the quickest way to hash strings. In this article I'll explain what strategies are usually used and how you can achieve instant hashes.