summaryrefslogtreecommitdiffstats
path: root/src/sql/kernel/qsqldatabase.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2024-05-13 16:04:25 -0700
committerThiago Macieira <thiago.macieira@intel.com>2024-05-18 19:30:55 -0700
commit7200f8638ca76ce6b8c57128e7a0b0fe9a732c4f (patch)
tree6329c6f3b15ac8ac14e823b649735b166495f175 /src/sql/kernel/qsqldatabase.cpp
parenteeb6f0337e21940240bf586420b55845d122896a (diff)
QByteArray: deduplicate QtPrivate::findByteArray() and qFindByteArray()
The former is the only place where the latter is called and both were doing duplicate and redudant work. So merge the two functions again... and split off the actual hashed searching into a new qFindByteArray. That simplifies the diff and Git history. Drive-by adding the Q_NEVER_INLINE to the Boyer-Moore search, which will be reached via tail-call. Task-number: QTBUG-125283 Change-Id: If05cb740b64f42eba21efffd17cf2ed2bbc64b17 Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Diffstat (limited to 'src/sql/kernel/qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions