March 20, 2010
Day 1 - Ruby Conf India 2010. Content available at: http://blogs.sun.com/arungupta/entry/day_1_ruby_conf_india
More »
March 20, 2010
Do you execute ops in bulks or one by one?. Last bunch of the entries have been all about the code. Today let's try something different. Partly because at the time of writing I'm just 34 thousand feet above Atlantic and really don't feel like coding anything, but partly also bec...
More »
March/2010
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
| | 1 |
2 |
3 |
4 | 5 | 6 | | 7 | 8 | 9 |
10 | 11 |
12 |
13 | | 14 |
15 |
16 |
17 | 18 | 19 |
20 | | 21 |
22 | 23 | 24 | 25 | 26 | 27 | | 28 | 29 | 30 | 31 | | | |
|
 |
Joe Darcy: Unhashing a String
My working on the strings in switch implementation has gotten swapped back in.
The implementation is following the translation strategy outlined in the
strings in switch proposal: find a perfect hash function for the input strings and semantically replace case "Foo": with case hash("Foo"): (along with some additional checks and logic) where hash("Foo") is computed as a constant by the compiler.
Date: September, 10 2009
Url: http://blogs.sun.com/darcy/entry/string_unhashing
Others News
Leave a Reply
Related
|