1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Allocate extra stack space for UnpackedRecord objects, reducing the need

to malloc for them as often, and thereby get a performance improvement.

FossilOrigin-Name: a725a75f870d7d9b21946fbcc71a956492986ab0
This commit is contained in:
drh
2013-11-06 14:36:08 +00:00
parent d9b7ec9348
commit b41392241e
4 changed files with 10 additions and 10 deletions

View File

@@ -3743,7 +3743,7 @@ case OP_Found: { /* jump, in3 */
char *pFree;
UnpackedRecord *pIdxKey;
UnpackedRecord r;
char aTempRec[ROUND8(sizeof(UnpackedRecord)) + sizeof(Mem)*3 + 7];
char aTempRec[ROUND8(sizeof(UnpackedRecord)) + sizeof(Mem)*4 + 7];
#ifdef SQLITE_TEST
if( pOp->opcode!=OP_NoConflict ) sqlite3_found_count++;