Open GoogleCodeExporter opened 8 years ago
[] is much faster then using iterators, specially if data to be plotted is
large. However, if the program is already generating data in container other
then vector; then building a vector out of other container to pass to gnuplot
functions and then discard afterwards; is bad. :-)
Original comment by am...@agoel.com
on 18 Sep 2013 at 12:28
I doubt `[]` is "much faster" than iterators (which, for vectors, are just
pointers ... and guess what `[]` does?).
However, to defend your point, you could argue that requiring Random Access
makes sense here because of the nature of the data... and using `[]`
accomplishes that.
Original comment by toma...@gmail.com
on 18 Jun 2015 at 1:11
Original issue reported on code.google.com by
aditya.gadre@gmail.com
on 3 Dec 2009 at 5:49