File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -100,14 +100,14 @@ data, err := bencode.Unmarshal(value)
100100
101101| Library | Time | Bytes Allocated | Objects Allocated |
102102| :---------------------------- | :---------: | :-------------: | :---------------: |
103- | IncSW/go-bencode Unmarshal | 1279 ns/op | 1016 B/op | 21 allocs/op |
104- | IncSW/go-bencode Marshal | 28572 ns/op | 262816 B/op | 4 allocs/op |
105- | IncSW/go-bencode MarshalTo | 7800 ns/op | 160 B/op | 2 allocs/op |
103+ | IncSW/go-bencode Unmarshal | 1271 ns/op | 1016 B/op | 21 allocs/op |
104+ | IncSW/go-bencode Marshal | 27929 ns/op | 262816 B/op | 4 allocs/op |
105+ | IncSW/go-bencode MarshalTo | 7937 ns/op | 160 B/op | 2 allocs/op |
106106| |
107107| |
108- | cristalhq/bencode Unmarshal | 1560 ns/op | 1016 B/op | 21 allocs/op |
108+ | cristalhq/bencode Unmarshal | 1552 ns/op | 1016 B/op | 21 allocs/op |
109109| cristalhq/bencode Marshal | 49125 ns/op | 443168 B/op | 5 allocs/op |
110- | cristalhq/bencode MarshalTo | 7709 ns/op | 0 B/op | 0 allocs/op |
110+ | cristalhq/bencode MarshalTo | 8183 ns/op | 0 B/op | 0 allocs/op |
111111| |
112112| |
113113| aleksatr/go-bencode Unmarshal | 21615 ns/op | 223352 B/op | 69 allocs/op |
@@ -118,7 +118,6 @@ data, err := bencode.Unmarshal(value)
118118| jackpal/bencode-go Marshal | 55097 ns/op | 445694 B/op | 60 allocs/op |
119119| jackpal/bencode-go MarshalTo | 35800 ns/op | 223128 B/op | 54 allocs/op |
120120
121-
122121#### Notes
123122
1241231 . BUG: Keys must be strings and appear in sorted order (sorted as raw strings, not alphanumerics). http://bittorrent.org/beps/bep_0003.html#bencoding
You can’t perform that action at this time.
0 commit comments