Nice/testsuite/compiler/methods overriding.testsuite,1.13,1.14

Daniel Bonniot <[email protected]> Fri, 19 Aug 2005 16:04:31 +0000
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
Update of /cvsroot/nice/Nice/testsuite/compiler/methods
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27857/testsuite/compiler/methods

Modified Files:
	overriding.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: overriding.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/overriding.testsuite,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** overriding.testsuite	13 Mar 2005 15:27:42 -0000	1.13
--- overriding.testsuite	19 Aug 2005 16:04:27 -0000	1.14
***************
*** 251,254 ****
--- 251,259 ----
  override void /*/// FAIL HERE */ foo(A<String> x) {}
  
+ /// FAIL
+   /// Toplevel
+ void foo(int i) {}
+ override void /*/// FAIL HERE*/ foo(byte b) {}
+ 
  /// PASS
    /// package a



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf