diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2011-05-13 07:44:42 -0700 |
---|---|---|
committer | Chris Aniszczyk <caniszczyk@gmail.com> | 2011-05-25 09:00:42 -0500 |
commit | 6ec6169215eb33683728c583e231eb5fe9617813 (patch) | |
tree | 3b06bb912d42705490e8e1ae3856f71f7f7be1e3 /org.eclipse.jgit.generated.storage.dht.proto/.project | |
parent | 7cad0adc7dd0f1ce261a11b16bd1725a12827161 (diff) | |
download | jgit-6ec6169215eb33683728c583e231eb5fe9617813.tar.gz jgit-6ec6169215eb33683728c583e231eb5fe9617813.zip |
DHT: Replace TinyProtobuf with Google Protocol Buffers
The standard Google distribution of Protocol Buffers in Java is better
maintained than TinyProtobuf, and should be faster for most uses. It
does use slightly more memory due to many of our key types being
stored as strings in protobuf messages, but this is probably worth the
small hit to memory in exchange for better maintained code that is
easier to reuse in other applications.
Exposing all of our data members to the underlying implementation
makes it easier to develop reporting and data mining tools, or to
expand out a nested structure like RefData into a flat format in a SQL
database table.
Since the C++ `protoc` tool is necessary to convert the protobuf
script into Java code, the generated files are committed as part of
the source repository to make it easier for developers who do not have
this tool installed to still build the overall JGit package and make
use of it. Reviewers will need to be careful to ensure that any edits
made to a *.proto file come in a commit that also updates the
generated code to match.
CQ: 5135
Change-Id: I53e11e82c186b9cf0d7b368e0276519e6a0b2893
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.generated.storage.dht.proto/.project')
-rw-r--r-- | org.eclipse.jgit.generated.storage.dht.proto/.project | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/org.eclipse.jgit.generated.storage.dht.proto/.project b/org.eclipse.jgit.generated.storage.dht.proto/.project new file mode 100644 index 0000000000..22e79eede9 --- /dev/null +++ b/org.eclipse.jgit.generated.storage.dht.proto/.project @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.jgit.generated.storage.dht.proto</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + </natures> +</projectDescription> |