]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Simplify a memcpy() in defragmentPage(). It now might copy more content than
authordrh <>
Fri, 9 Jun 2023 15:54:18 +0000 (15:54 +0000)
committerdrh <>
Fri, 9 Jun 2023 15:54:18 +0000 (15:54 +0000)
commit7520116441617c4e34cf8d81a6013c760e00b542
tree92d00d0988d240ce555efd062e2bf520e111abdb
parent6e4ff8707e884e2dc7430737b3d75a7c131c313c
Simplify a memcpy() in defragmentPage().  It now might copy more content than
is strictly necessary, but runs faster and uses less code space.  Possible
reasons for the improved performance:
(1) the copy is now always 8-byte aligned,
(2) fewer intermediate results are required which means less register
pressure which helps the compiler to optimize the subroutine.

FossilOrigin-Name: 6e5607ae4d872954483a8d7a5c866aa41e4af70fae9652fb7eb211b316ab724d
manifest
manifest.uuid
src/btree.c