aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeInt.h
diff options
context:
space:
mode:
authordrh <>2022-02-28 12:08:09 +0000
committerdrh <>2022-02-28 12:08:09 +0000
commit4296357c90fa9c67ef2ce6e5e68d8ec1b3e1b40e (patch)
treefe3435713804fe222bcaf8cdc74ee82b767376dc /src/vdbeInt.h
parentc9373e86e816ccd62dec14af42eb5b7640e5011e (diff)
downloadsqlite-4296357c90fa9c67ef2ce6e5e68d8ec1b3e1b40e.tar.gz
sqlite-4296357c90fa9c67ef2ce6e5e68d8ec1b3e1b40e.zip
The performance increase in the previous check-in of this branch was due to
the revised loop in initMemArray() and reordering fields of Mem - not the call the memcpy(). Changing the code to avoid memcpy() results in an even better gain, and code that is far less dodgy. FossilOrigin-Name: d74aa979530d4236f5900d2ef998b27065d352d7c18bcd822e5c8f1041a1a81c
Diffstat (limited to 'src/vdbeInt.h')
-rw-r--r--src/vdbeInt.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vdbeInt.h b/src/vdbeInt.h
index dc284fb0b..657c6f8cf 100644
--- a/src/vdbeInt.h
+++ b/src/vdbeInt.h
@@ -199,10 +199,6 @@ struct VdbeFrame {
** Internally, the vdbe manipulates nearly all SQL values as Mem
** structures. Each Mem struct may cache multiple representations (string,
** integer etc.) of the same value.
-**
-** Code uses offsetof() on this object. Order of the fields is important.
-** Search for tag-20220228a to find all places that need to change when the
-** field order changes.
*/
struct sqlite3_value {
union MemValue {