Less code is not really that important anymore (within sensible bounds) Clarity to whatever poor shmo has to maintain it is often much more important than saving 5 lines with some clever bit twiddling hack.<p>Unless of course you are having performance issues and you have identified this code block as the issue.