ticket #41: remove method call & reorder branch..

..to avoid jump in the usual case. Otherwise costs a double hash lookup
for mutable elements.

CPython before:

    100000 loops, best of 10: 5.91 usec per loop

CPython after:

    100000 loops, best of 10: 5.71 usec per loop