diff options
author | drh <drh@noemail.net> | 2018-10-31 20:52:00 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-10-31 20:52:00 +0000 |
commit | 7301e774025bc765e12a0f1a450d4aaddc3ea53f (patch) | |
tree | b5385c3b3a124d66ecbe3f92258f0b1d9ca9beb7 /src/sqliteInt.h | |
parent | a60c63013ef1d02e7d63ee9b3951fec4555882da (diff) | |
download | sqlite-7301e774025bc765e12a0f1a450d4aaddc3ea53f.tar.gz sqlite-7301e774025bc765e12a0f1a450d4aaddc3ea53f.zip |
Deploy the sqlite3Strlen30NN() function (argument guaranteed to be non-NULL) for
a small performance improvement.
FossilOrigin-Name: 4a6ad5190b62020d97a7de02c801544f20b7b98145ceff14af1f2834d3057f9c
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 0d6761f47..20db52de3 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -3665,6 +3665,7 @@ int sqlite3IsIdChar(u8); */ int sqlite3StrICmp(const char*,const char*); int sqlite3Strlen30(const char*); +#define sqlite3Strlen30NN(C) (strlen(C)&0x3fffffff) char *sqlite3ColumnType(Column*,char*); #define sqlite3StrNICmp sqlite3_strnicmp |