- 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:
@@ -113,6 +113,15 @@ void Grid::add (
|
||||
insertCell (row, col, new Cell (value));
|
||||
}
|
||||
|
||||
void Grid::add (
|
||||
const unsigned int row,
|
||||
const unsigned int col,
|
||||
const char* value)
|
||||
{
|
||||
expandGrid (row, col);
|
||||
insertCell (row, col, new Cell (std::string (value)));
|
||||
}
|
||||
|
||||
void Grid::add (
|
||||
const unsigned int row,
|
||||
const unsigned int col,
|
||||
|
||||
Reference in New Issue
Block a user