[cfe-commits] [patch] Cache visibility computation
Rafael EspĂndola
rafael.espindola at gmail.com
Tue Nov 20 20:20:10 PST 2012
When first looking at the testcase in pr13844 my first idea was
caching the visibility computation. I did some simpler fixes first,
but decided to try caching too.
The attached patch implements it, but after the previous fixes we are
now spending most of the time of that testcase just linking the decls,
so the performance impact is in the noise. It might still be a good
idea to do it since it provides an assert on what conditions can
change the computed visibility.
Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 13130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121120/7c15756d/attachment.obj>
More information about the cfe-commits
mailing list