dep-protobuf/rust/cpp_kernel
Clayton Knittel c4be7483cb Use ClassData instead of a prototype throughout lazy field / extensions when possible.
`New` is more efficient on ClassData than on a prototype, as `New` on the prototype has to first load the class data through the prototype.

There's also a small optimization in `LazyField::MergeFromMessage` which avoids loading the class data twice. The redundancy was made more obvious by this refactor.

PiperOrigin-RevId: 953889072
2026-07-25 09:22:11 -07:00
..
compare.cc Suppress failure to consume parse/serialize return values. 2025-12-05 08:01:34 -08:00
compare.h Set up for Rust-cpp Protobuf implementation message matcher. 2024-08-01 07:52:17 -07:00
debug.cc Enable MessageLite::DebugString to use Message::DebugString where possible. 2024-07-03 09:37:37 -07:00
debug.h Enable MessageLite::DebugString to use Message::DebugString where possible. 2024-07-03 09:37:37 -07:00
extension.cc Use ClassData instead of a prototype throughout lazy field / extensions when possible. 2026-07-25 09:22:11 -07:00
extension.rs Remove unused Matcher_Eq import in rust 2026-06-05 13:17:35 -07:00
interop.rs Refactor: Move interop traits to kernel-specific modules. 2026-03-31 12:04:34 -07:00
map.cc Automated Code Change 2026-06-14 20:35:06 -07:00
map.rs Refactor: Split upb and cpp backends into submodules 2026-03-20 11:13:43 -07:00
message.cc Internal change. 2026-07-20 13:13:44 -07:00
message.rs Internal change. 2026-07-20 13:13:44 -07:00
mod.rs Added infrastructure for Rust Extensions support, but left it disabled for now. 2026-04-08 08:08:46 -07:00
raw.rs Added infrastructure for Rust Extensions support, but left it disabled for now. 2026-04-08 08:08:46 -07:00
repeated.cc Pass down Arena* to RepeatedPtrFieldBase::AddInternal. 2025-09-15 17:27:17 -07:00
repeated.rs Added infrastructure for Rust Extensions support, but left it disabled for now. 2026-04-08 08:08:46 -07:00
rust_alloc_for_cpp_api.h Change to proto2_rust C prefix and proto2::rust C++ namespace 2024-07-02 11:44:17 -07:00
rust_alloc_for_cpp_api.rs Start testing against Rust edition 2024 2025-10-07 09:21:51 -07:00
serialized_data.h Make SerializedData into a POD struct. 2024-09-18 14:17:14 -07:00
string.rs Refactor: Split upb and cpp backends into submodules 2026-03-20 11:13:43 -07:00
strings.cc Make conversion functions for into c++ string types from PtrAndLen. 2024-12-10 11:15:00 -08:00
strings.h Make conversion functions for into c++ string types from PtrAndLen. 2024-12-10 11:15:00 -08:00