Re: Version 6 graphics can be painfully slow
- To: mathgroup at smc.vnet.net
- Subject: [mg84847] Re: Version 6 graphics can be painfully slow
- From: nigol <dario.buttari at gmail.com>
- Date: Wed, 16 Jan 2008 23:00:40 -0500 (EST)
- References: <fmkerk$72g$1@smc.vnet.net>
Szabolcs,
on my system and Mathematica 6.0.1 your original example takes 54.2s
to complete:
data = Table[{Random[], Random[]}, {100000}];
Graphics[{PointSize[0.002], Point /@ data}, AspectRatio -> Automatic]
The following equivalent statement (not available in Mathematica 5.2)
takes 0.173s:
data = Table[{Random[], Random[]}, {100000}];
Graphics[{PointSize[0.002], Point[data]}, AspectRatio -> Automatic]
The version 5.2 graphics takes 1.58s to complete:
<< Version5`Graphics`
data = Table[{Random[], Random[]}, {100000}];
Graphics[{PointSize[0.002], Point /@ data}, AspectRatio ->
Automatic] // Show
In[69]:= $Version
Out[69]= "6.0 for Microsoft Windows (32-bit) (June 19, 2007)"
Dario