Revision: 4778
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4778&view=rev
Author:   mdboom
Date:     2007-12-20 05:01:07 -0800 (Thu, 20 Dec 2007)

Log Message:
-----------
Minor efficiency improvement.

Modified Paths:
--------------
    branches/transforms/src/_backend_agg.cpp

Modified: branches/transforms/src/_backend_agg.cpp
===================================================================
--- branches/transforms/src/_backend_agg.cpp    2007-12-20 13:00:48 UTC (rev 
4777)
+++ branches/transforms/src/_backend_agg.cpp    2007-12-20 13:01:07 UTC (rev 
4778)
@@ -363,6 +363,9 @@
   double x0, y0, x1, y1;
   unsigned code;
 
+  if (path.total_vertices() > 15)
+    return false;
+
   code = path.vertex(&x0, &y0);
   trans.transform(&x0, &y0);
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to