~thopiekar/protobuf/+git/protobuf:test_627235640

Last commit made on 2024-05-23
Get this branch:
git clone -b test_627235640 https://git.launchpad.net/~thopiekar/protobuf/+git/protobuf

Branch merges

Branch information

Name:
test_627235640
Repository:
lp:~thopiekar/protobuf/+git/protobuf

Recent commits

ddf7c0c... by Protobuf Team Bot <email address hidden>

Internal Change

PiperOrigin-RevId: 627235640

046a07e... by Mike Kruskal <email address hidden>

Fix a rare crash from feature lifetime validation.

This is only reproducible for protos that trigger the lazy build of another proto in the pool that needs feature lifetimes validated. If an error is encountered, we'll end up throwing the lazy build's descriptors into the deferred validation map, but then rolling it back with the original proto. This results in a use-after-free crash.

PiperOrigin-RevId: 636324975

911fa98... by Derek Benson <email address hidden>

Add benchmarks for Protobuf Rust that demonstrate the overhead of the Rust implementations.

PiperOrigin-RevId: 636190227

16e0a63... by Mark Hansen <email address hidden>

Remove field SmallSortedMap.maxArraySize

It's always set to 16 in production code.

Except for when it's set to 0 for the immutable empty SmallSortedMap, but the number doesn't change anything for that immutable empty map (it's always empty, it will never hit the max).

This should save 4 bytes of memory per SmallSortedMap.

PiperOrigin-RevId: 636035193

c05be32... by Mark Hansen <email address hidden>

Delete unused method SmallSortedSet.getOverflowEntriesDescending

PiperOrigin-RevId: 636034500

3ba7280... by Mark Hansen <email address hidden>

Avoid allocating FieldSet iterator if FieldSet is empty

This saves some allocations during writing out messages with extensions declared in the common case of empty FieldSet.

PiperOrigin-RevId: 636031501

590e5aa... by Protobuf Team Bot <email address hidden>

internal changes to plugin

PiperOrigin-RevId: 635990609

2e9c0a7... by Protobuf Team Bot <email address hidden>

Auto-generate files after cl/635956805

e237f72... by Mike Kruskal <email address hidden>

Future-proof edition 2023 against feature value support windows.

This "feature" hasn't been implemented yet, but this puts a placeholder down to prevent compatibility issues in future editions. Once we provide versioning support on individual feature values, we don't want them becoming usable from edition 2023 protos

PiperOrigin-RevId: 635956805

b94e117... by Hong Shin <email address hidden>

Port C++20 Requires to it's C++17 equivalent for reuse across protos

PiperOrigin-RevId: 635894605