[Nice-commit] Nice/testsuite/compiler/overloading specificity.testsuite,1.10,1.11
Brought to you by:
bonniot
|
From: Daniel B. <bo...@us...> - 2005-08-19 16:04:37
|
Update of /cvsroot/nice/Nice/testsuite/compiler/overloading In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27857/testsuite/compiler/overloading Modified Files: specificity.testsuite Log Message: Dramatically speedup the "remove non-minimal methods" from the overloading resolution phase. Use overriding information for nice methods instead of recomputing the specialization relationship each time. For others (inlined, retyped methods), cache the results. This phase goes down from about 30% of overloading resolution to something negligible. For large enough packages, this translates to about 15% global compilation speedup. Index: specificity.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/overloading/specificity.testsuite,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** specificity.testsuite 12 Mar 2005 17:00:27 -0000 1.10 --- specificity.testsuite 19 Aug 2005 16:04:26 -0000 1.11 *************** *** 143,144 **** --- 143,153 ---- foo(B(I) b) {} + + /// PASS + /// package a + m(int x => false); + /// Toplevel + public <T> void m(T->boolean) {} + public <T, U> void m(T->?U converter) {} + /// package b import a + m(int x => false); |