commit | 4e0bdff15d4181aebcfc18c9339f85ba471e9957 | [log] [tgz] |
---|---|---|
author | Ömer Sinan Ağacan <omersa@google.com> | Thu Nov 23 09:24:25 2023 +0100 |
committer | GitHub <noreply@github.com> | Thu Nov 23 09:24:25 2023 +0100 |
tree | cd0ebf6ff784db561ef196ba1948c3ff2c62764a | |
parent | dcec2eda9db4e6728e900928aa2e46944ba4fa6f [diff] |
Make wrapped lists in PbList monomorphic (#902) In `PbList`, the list field becomes monomorphic growable list (from the list base class). This makes `add` calls monomorphic and inlinable, and avoids double mutability checks (once in `PbList.add`, again in `_wrappedList.add`). Also simplifies immutable `PbMap` allocations. `PbMap._isReadonly` is renamed to `_isReadOnly` for consistency with `PbList._isReadOnly`.
Protocol Buffers (protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.
This repository is home to packages related to protobuf for Dart.
Package | Description | Published Version |
---|---|---|
protobuf | A support library for the generated code | |
protoc_plugin | A Dart back-end for the protoc compiler | |
api_benchmark | Benchmarking for various API calls | |
query_benchmark | Benchmark for encoding and decoding of a “real-world” protobuf |
For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.