Skip to content

Commit 3aa096f

Browse files
committed
Ideas and plans
1 parent a3aba05 commit 3aa096f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,14 @@ Optional | Marks a field as optional (null if not present). | 1 + value size (if
127127
Data | A generic binary buffer. Equivalent to an Array of Uint8's. Can be fixed size. | (Array)
128128
String | A UTF-8 encoded string. Equivalent to Data with some post processing. Can be fixed size. | (Array)
129129

130+
## Ideas and plans
131+
132+
- [x] Generate code for super fast encoding and decoding
133+
- [ ] Provide utilities for format versioning
134+
- [ ] An efficient Boolean type that allows storing of 8 values in a single byte
135+
- [ ] Better transcoding error reporting
136+
- [ ] Make decoding at least as fast as protobuf
137+
130138
## Benchmarks
131139

132140
The following benchmark compares Protobuf to this implementation for some basic data structure and a long string of length at least N. `binary-encoder-buf` uses a preallocated buffer for all operations. `binary-encoder-compiled` uses an API that generates a structural function (rather than recursive) that is much more efficient. This API has replaced the old transcoding functions in version 0.4

0 commit comments

Comments
 (0)