SIGN IN SIGN UP

Protocol Buffers - Google's data interchange format

0 0 3 C++

Ruby implement memsize functions for native types (#10291)

Fix: https://github.com/protocolbuffers/protobuf/issues/10280

This allows Ruby to report a more correct estimation of the memory used by these objects.

It's useful when running memory profilers against applications.

cc @zhangskz @haberman

Closes #10291

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/10291 from casperisfine:ruby-sizes 9150795328267e69a0b8e241dda675402e5633e2
PiperOrigin-RevId: 606718632
J
Jean byroot Boussier committed
87cbdddbf0055d2dfeb87245984126fba7549d3e
Parent: 0c715b5
Committed by Copybara-Service <copybara-worker@google.com> on 2/13/2024, 9:03:20 PM