- Integrated Grid object for data storage.

time ./task lo

			old	new
		real	0.262	0.018
		user	0.201	0.013
		sys	0.048	0.004

		~1200-1400% faster

	time ./task completed

			old	new
		real	3.991	4.014
		user	2.821	2.832
		sys	1.165	1.169

		~0.3-0.5% slower
This commit is contained in:
Paul Beckingham 2008-05-12 23:29:14 -04:00
parent 3dd45611ff
commit b63cf606f0
5 changed files with 90 additions and 97 deletions

View file

@ -55,6 +55,7 @@ public:
void add (const unsigned int, const unsigned int, const int);
void add (const unsigned int, const unsigned int, const float);
void add (const unsigned int, const unsigned int, const double);
void add (const unsigned int, const unsigned int, const char*);
void add (const unsigned int, const unsigned int, const std::string&);
unsigned int width () const;