]> git.ipfire.org Git - thirdparty/sqlite.git/commit
A much simpler fix is to simply change MEMSYS5 so that it takes any free memsys5-performance
authordrh <drh@noemail.net>
Sat, 23 Nov 2013 22:45:12 +0000 (22:45 +0000)
committerdrh <drh@noemail.net>
Sat, 23 Nov 2013 22:45:12 +0000 (22:45 +0000)
commit9948e95674a267ab8175812745e2bdad93bbb877
tree7a74e63caef737555f09c9ecaf375022338c7457
parent7b65ad31e1f77ec630df566e84e3dcb8f6c40e71
A much simpler fix is to simply change MEMSYS5 so that it takes any free
block of the appropriate size (the first on the list of free blocks) rather
than searching for the one with the smallest address.  This is also faster
than using the min-heap algorithm.  Need to research to verify that the
allocator still satisfies the Robson proof, however.

FossilOrigin-Name: 8191b512122c13d7fa61d8e5487652f13ec172f7
manifest
manifest.uuid
src/mem5.c