doctrine/common — pull request #181 by pborreli (2012-09-16 02:33:54+00:00)
Title: [Annotations] Refactoring proposal for performance and readability

Refactored the getType method ordering by performance cost.

Used `performance` group phpunit benchmark , tell me what do you think.

Before

```
----------------------------
doc-lexer results:
============================
Iterations: 1000
Total Time: 0.423 s
Time per iteration: 0.423 ms
----------------------------
```
After
```
----------------------------
doc-lexer results:
============================
Iterations: 1000
Total Time: 0.313 s
Time per iteration: 0.313 ms
----------------------------