From: drh Date: Fri, 11 Nov 2016 19:01:11 +0000 (+0000) Subject: Enhance the OP_IdxInsert opcode so that it can used unpacked key values if X-Git-Tag: version-3.16.0~128 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4b727f17d605b196e5e0674f058748f2e423d967;p=thirdparty%2Fsqlite.git Enhance the OP_IdxInsert opcode so that it can used unpacked key values if 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 --- 4b727f17d605b196e5e0674f058748f2e423d967 diff --cc manifest index fb719999e7,cca6f193f0..fa47dd9760 --- a/manifest +++ 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 cdd0440791,273415e51b..8ea474f61b --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - 46e0016207b8e7df2ae6c7491fd0f3c2926eed21 -1a587d72f981cb7064cfd8916a52a83ad9ba6074 ++925840cfdb969a76640a1247cc4a7b2c0de5cb74