Speed up libclang, take two. #243

Merged
merged 2 commits into from Jan 19, 2013
Commits on Jan 19, 2013
  1. Use get() to retrieve the translation unit.

    Rip-Rip committed Jan 19, 2013
    While I cannot show any performance improvement, I'll argue that the
    complexity of retrieving a translation unit is now two times faster.
    
    The python "in" keyword has to walk to the datastructure once, and we
    walk a second time to retrieve it. We only walk it once now.