Remove the rarely-used scratch memory allocator. This makes the code smaller,
commit34595265f8bf455030b4338923860f4465c95b67
authorD. Richard Hipp <drh@hwaci.com>
Mon, 28 Aug 2017 15:51:35 +0000 (28 15:51 +0000)
committerD. Richard Hipp <drh@hwaci.com>
Mon, 28 Aug 2017 15:51:35 +0000 (28 15:51 +0000)
treee19c10114d7fea8caecdc744acad7f39912f0385
parent95bf941cf5628abcb91edf87ac78585db7699e17
Remove the rarely-used scratch memory allocator.  This makes the code smaller,
faster, and easier to maintain.  In place of the scratch allocator, add the
SQLITE_CONFIG_SMALL_MALLOC configuration option that provides a hint to SQLite
that large memory allocations should be avoided.
17 files changed:
src/btree.c
src/global.c
src/main.c
src/malloc.c
src/shell.c.in
src/sqlite.h.in
src/sqliteInt.h
src/status.c
src/test_malloc.c
src/vdbesort.c
test/kvtest.c
test/lookaside.test
test/memsubsys1.test
test/permutations.test
test/speedtest1.c
test/tester.tcl
test/wordcount.c