- 17 Jun, 2015 1 commit
-
-
Jon Skeet authored
-
- 12 Jun, 2015 12 commits
-
-
Jon Skeet authored
-
Jon Skeet authored
-
Jon Skeet authored
This is effectively reimplementing List<T>, but with a few advantages: - We know that an empty repeated field is common, so don't allocate an array until we need to - With direct access to the array, we can easily convert enum values to int without boxing - We can relax the restrictions over what happens if the repeated field is modified while iterating, avoiding so much checking This is somewhat risky, in that reimplementing a building block like this is *always* risky, but hey... (The performance benefits are significant...)
-
Jon Skeet authored
I wouldn't expect this to affect anything, but it appears to.
-
Jon Skeet authored
-
Jon Skeet authored
-
Jon Skeet authored
-
Jon Skeet authored
-
Jon Skeet authored
-
Jon Skeet authored
This mirrors commit 7c86bbbc7a3365c034d82173b38ec4427b98b3b2 in the pull request to the main protobuf project, but also reduces the size of the buffer created. (There's no point in creating a 1024-byte buffer if we're only skipping 5 bytes...)
-
Jon Skeet authored
-
Jon Skeet authored
Remove ICodedInputStream and ICodedOutputStream, and rewrite CodedInputStream and CodedOutputStream to be specific to the binary format. If we want to support text-based formats, that can be a whole different serialization mechanism.
-
- 11 Jun, 2015 3 commits
-
-
Jon Skeet authored
This makes repeated fields really awkward at the moment - but when we reimplement RepeatedField<T> to be backed by an array, we can cast the array directly...
-
Jon Skeet authored
Aside from anything else, this will be used for all tags for fields 1-15.
-
Jon Skeet authored
Cache a reference to Encoding.UTF8 - the property access is (rather surprisingly) significant. Additionally, when we detect that the string is all ASCII (due to the computed length in bytes being the length in characters), we can perform the encoding very efficiently ourselves.
-
- 09 Jun, 2015 2 commits
- 05 Jun, 2015 1 commit
-
-
Jon Skeet authored
-
- 04 Jun, 2015 6 commits
- 03 Jun, 2015 4 commits
- 02 Jun, 2015 11 commits
-
-
Paul Yang authored
Add remaining not-already-imported well known types files to podspec
-
Feng Xiao authored
Fix unittest in i386
-
Feng Xiao authored
Document why the podspec is on the root of the repo
-
Michael Lumish authored
A few corrections to the proposed podspec
-
Jorge Canizales authored
-
Jorge Canizales authored
-
Jorge Canizales authored
-
Jorge Canizales authored
-
Jorge Canizales authored
-
Jorge Canizales authored
-
murgatroid99 authored
-