/// <summary> /// Will do a warmup run to let the JVM optimize the triangulation code -- or would if this were Java --MM /// </summary> public static void Warmup() { #if false /* * After a method is run 10000 times, the Hotspot compiler will compile * it into native code. Periodically, the Hotspot compiler may recompile * the method. After an unspecified amount of time, then the compilation * system should become quiet. */ Polygon poly = PolygonGenerator.RandomCircleSweep2(50, 50000); TriangulationProcess process = new TriangulationProcess(); process.triangulate(poly); #endif }
/// <summary> /// Will do a warmup run to let the JVM optimize the triangulation code -- or would if this were Java --MM /// </summary> public static void Warmup() { #if false /* * After a method is run 10000 times, the Hotspot compiler will compile * it into native code. Periodically, the Hotspot compiler may recompile * the method. After an unspecified amount of time, then the compilation * system should become quiet. */ Polygon poly = PolygonGenerator.RandomCircleSweep2(50, 50000); TriangulationProcess process = new TriangulationProcess(); process.triangulate(poly); #endif }