Optimizations to squeeze every bit of cpu cycle from SerialState as I can.