Providing protobuf and gRPC support for Qt.
Go to file
Alexey Edelev 0da8af84b8 Cache property values when deserializing them
When deserializing protobuf messages, cache the property values in
the serializer. The cached value life-time is limited by field
number change. This improves the performance of the deserializer
when deserializing repeated fields. So before storing the new value
into the message we first collect all values of the repeated field
that we received from the wire and only when we recognize the change
of the field in the byte stream, update the property value.

Fixes: QTBUG-124594
Pick-to: 6.8 6.7
Change-Id: I5ce5d5c81bf0f7ebf071b5ad374a46787b2767e8
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
2024-07-15 15:46:26 +02:00
LICENSES Rename protobuf_LICENSE.txt to LicenseRef-protobuf.txt 2024-02-02 15:54:58 +01:00
cmake CMake: Make examples build as external projects 2024-03-06 17:14:45 +01:00
coin Change Axivion analysis result format 2024-06-28 10:17:09 +03:00
examples CMake: Add explicit lookup of ProtobufQuick package for magic8ball 2024-07-15 13:11:12 +02:00
src Cache property values when deserializing them 2024-07-15 15:46:26 +02:00
tests Improve client and bidir streaming tests 2024-07-11 15:57:59 +02:00
.clang-format clang-format: use AlignArrayOfStructures Left 2024-04-03 12:15:49 +01:00
.cmake.conf Bump version to 6.9.0 2024-06-06 03:49:05 +01:00
.gitattributes Add missing .gitattributes and .tag files 2023-01-18 12:03:33 +02:00
.gitignore Privately introduce QProtobufPropertyOrderBuilder 2024-06-27 18:01:37 +02:00
.tag Add missing .gitattributes and .tag files 2023-01-18 12:03:33 +02:00
CMakeLists.txt Add the missing lookup for QuickTest component 2024-03-11 18:00:41 +01:00
configure.cmake Long live qtprotobufgen 2022-11-08 10:33:39 +01:00
dependencies.yaml Update dependencies on 'dev' in qt/qtgrpc 2024-07-11 15:06:01 +00:00
licenseRule.json Add the Qt ProtobufQuick module to licenseRule.json 2024-06-21 12:46:17 +02:00
qt_attribution.json Move conformance test to auto tests 2024-05-09 11:50:50 +02:00
qt_cmdline.cmake Long live qtprotobufgen 2022-11-08 10:33:39 +01:00