]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Enhance the OP_IdxInsert opcode so that it can used unpacked key values if
authordrh <drh@noemail.net>
Fri, 11 Nov 2016 19:01:11 +0000 (19:01 +0000)
committerdrh <drh@noemail.net>
Fri, 11 Nov 2016 19:01:11 +0000 (19:01 +0000)
they are available.  Update the code generator to take advantage of this
new capability.  The speedtest1.c test is about 2.6% faster as a result.

FossilOrigin-Name: 925840cfdb969a76640a1247cc4a7b2c0de5cb74

1  2 
manifest
manifest.uuid

diff --cc manifest
index fb719999e7b044e470b92df816b1860b25614b35,cca6f193f06980675cea107c341e8731cefb5b3e..fa47dd976098dabfb24b5aa0f557f3d7cbbc7124
+++ b/manifest
@@@ -1,5 -1,5 +1,5 @@@
- C Fix\sa\sproblem\swith\sswitching\sfrom\swal\sto\srollback\smode\swhen\nSQLITE_DBCONFIG_NO_CKPT_ON_CLOSE\sis\sconfigured.
- D 2016-11-11T17:08:51.459
 -C Remove\sobselete\sand\sunused\slogic\sin\sthe\supdate\scode\sgenerator.\nFix\sthe\ssqlite3BtreeMovetoUnpacked()\sroutine\sso\sthat\sit\sremembers\sthe\nrowid\sof\sthe\srow\sthat\sit\slanded\son.
 -D 2016-11-11T18:19:05.491
++C Enhance\sthe\sOP_IdxInsert\sopcode\sso\sthat\sit\scan\sused\sunpacked\skey\svalues\sif\nthey\sare\savailable.\s\sUpdate\sthe\scode\sgenerator\sto\stake\sadvantage\sof\sthis\nnew\scapability.\s\sThe\sspeedtest1.c\stest\sis\sabout\s2.6%\sfaster\sas\sa\sresult.
++D 2016-11-11T19:01:11.983
  F Makefile.in 6fd48ffcf7c2deea7499062d1f3747f986c19678
  F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
  F Makefile.msc e0217f2d35a0448abbe4b066132ae20136e8b408
@@@ -1532,7 -1532,7 +1532,8 @@@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a9
  F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
  F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
  F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
- P 119d6ef8478ea6ab07dfd0e974d2f5a8dcfce87e
- R 713cac12bbad56d229ae83741d89e9ae
- U dan
- Z eb4e3f5ce4749269e2c70de28f3602c7
 -P 5515b827dc1805a3010018cd6abf222b03525d24
++P 46e0016207b8e7df2ae6c7491fd0f3c2926eed21 1a587d72f981cb7064cfd8916a52a83ad9ba6074
+ R d4149095f37aacb5dfcbf6f677226eee
++T +closed 1a587d72f981cb7064cfd8916a52a83ad9ba6074
+ U drh
 -Z dccbc7ad9f33eb000a7232f3de148136
++Z 89ee46a4d9ea247735e0710261d136a5
diff --cc manifest.uuid
index cdd0440791a537ec106e2fc375134410e47fe39f,273415e51bec5165bc25d7d5a66de64874a2b1bc..8ea474f61b228d31376c90b3161263818e150260
@@@ -1,1 -1,1 +1,1 @@@
- 46e0016207b8e7df2ae6c7491fd0f3c2926eed21
 -1a587d72f981cb7064cfd8916a52a83ad9ba6074
++925840cfdb969a76640a1247cc4a7b2c0de5cb74