I was having a conversation with a colleague last week about the cost of automatic casting due to the use of generics in java; so, I decided to write a benchmark. Since everyone wants their networking code to run as fast as possible, I thought I would share it with all of you.
Feel free to peer-review the code. https://github.com/jon-valliere/jmh-generics-benchmark
