<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi, this patch contains optimizations for the python cindex binding, specifically for the CompletionChunk class. It tries to avoid calls to the c interface by caching the results, also, it improves internal checking by avoiding string comparisons and dictionary lookups.</div><div><br></div><div>This optimizations have improved in 100% the time spent by those operations in the VIM's clang_complete plugin.</div><div><br></div><div>For more information and data, please check <a href="https://github.com/Rip-Rip/clang_complete/pull/187#issuecomment-7825896">https://github.com/Rip-Rip/clang_complete/pull/187#issuecomment-7825896</a>. </div><div><br></div><div>---</div><div><br></div><div>Francisco Lopes</div><div><br></div></body></html>