minor performance tweaks to poller

Give a ~2x improvement for the simple case of a single Socket on my laptop (2.5 GHz i5, OS X 10.8.4).

- before: around 55k msgs/sec
- after: around 110k msgs/sec

Pinging @taotetek for testing, as he prompted the investigation.