diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-12-23 07:03:06 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-12-23 07:03:06 +0000 |
commit | 5f12164f54a12500d2d8276937b7ed4fec408b99 (patch) | |
tree | 5cce5fcecb4a3104ca33fd67e1d37f788b719576 /benchmarks/google_speed.proto | |
parent | 46ed74e8d456d7d2a983c6c86e2c347d8a5b4843 (diff) | |
download | protobuf-5f12164f54a12500d2d8276937b7ed4fec408b99.tar.gz protobuf-5f12164f54a12500d2d8276937b7ed4fec408b99.tar.bz2 protobuf-5f12164f54a12500d2d8276937b7ed4fec408b99.zip |
Refactor the way output is handled in CommandLineInterface -- now it will be stored in-memory until all code generators have completed, then dumped to disk all at once. While this means that protoc uses more memory, the code is much simpler, and handles insertions much faster. Also, this made it easier to implement a useful feature: insertions will be indented to match the insertion point line. Therefore, when inserting into Python code, you don't have to figure out how much to indent your inserted code. The refactoring should also make it easier to implement output-to-jar at some point.
Diffstat (limited to 'benchmarks/google_speed.proto')
0 files changed, 0 insertions, 0 deletions