[apps/shared] Use memmove instead of shifting the table cell by cell

This commit is contained in:
Émilie Feral
2019-10-07 10:20:23 +02:00
committed by LeaNumworks
parent a81f76332c
commit cd7071277b
2 changed files with 11 additions and 15 deletions

View File

@@ -108,8 +108,6 @@ private:
// Coordinates of memoizedBufferForCell refer to the absolute table
char * memoizedBufferForCell(int i, int j);
virtual int valuesCellBufferSize() const = 0;
// Coordinates of moveMemoizedBuffer refer to the memoized table
void moveMemoizedBuffer(int destinationI, int destinationJ, int sourceI, int sourceJ);
// Coordinates of fillMemoizedBuffer refer to the absolute table but the index
// refers to the memoized table
virtual void fillMemoizedBuffer(int i, int j, int index) = 0;