- 06 Aug, 2020 1 commit
-
-
Steven Allen authored
-
- 05 Aug, 2020 4 commits
-
-
Steven Allen authored
This way, we can't blow out our stack.
-
Steven Allen authored
We use this quite frequently so it should be fast. Note: this removes the depth restriction because the algorithm is no longer recursive.
-
Steven Allen authored
Type asserting to a concrete type is ~10x faster than type asserting to an interface. This change has a significant performance impact in my test. readByte used to account for 10.8% of the time, now it accounts for 3.4%.
-
Steven Allen authored
Buffering could lead to reading over the end of the object, corrupting the next object. This patch also gets rid of "PeekByte" and uses the standard ReadByte/UnreadByte interfaces. That way, we can avoid wrapping the byte reader in the happy path, saving some overhead.
-
- 23 Jul, 2020 3 commits
-
-
Jakub Sztandera authored
Fix named string issue
-
Jakub Sztandera authored
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
-
Jakub Sztandera authored
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
-
- 20 Jul, 2020 2 commits
-
-
Jakub Sztandera authored
Fix encoding/decoding fixed byte arrays
-
Steven Allen authored
-
- 15 Jul, 2020 1 commit
-
-
Łukasz Magiera authored
fix overread on scanforlinks
-
- 14 Jul, 2020 2 commits
-
-
whyrusleeping authored
-
whyrusleeping authored
-
- 10 Jul, 2020 5 commits
-
-
Whyrusleeping authored
chore: update go-cid and remove xerrors
-
Whyrusleeping authored
correctly map typegen to cbg in all cases
-
Steven Allen authored
-
Whyrusleeping authored
fix: clear struct state on unmarshal
-
Steven Allen authored
We needed this to apply to maps, slices, etc.
-
- 06 Jul, 2020 2 commits
-
-
Lucas Molas authored
deferred: restrict max length
-
Lucas Molas authored
-
- 03 Jul, 2020 3 commits
-
-
Whyrusleeping authored
reduce number of allocations in ScanForLinks
-
whyrusleeping authored
-
whyrusleeping authored
-
- 19 Jun, 2020 1 commit
-
-
Steven Allen authored
fixes #21 We could also make sure every field write writes to the field, no matter what. However, this is much safer.
-
- 04 May, 2020 4 commits
-
-
Whyrusleeping authored
attempt to allocate less by using shared buffers
-
Jeromy authored
-
Jeromy authored
-
Jeromy authored
-
- 03 May, 2020 3 commits
- 02 May, 2020 1 commit
-
-
Whyrusleeping authored
use new cid methods for less allocs
-
- 01 May, 2020 4 commits
-
-
Jeromy authored
-
Jeromy authored
-
Whyrusleeping authored
properly handle roundtripping Deferred with 'null' value
-
Jeromy authored
-
- 14 Apr, 2020 2 commits
-
-
Whyrusleeping authored
Support array types
-
Łukasz Magiera authored
-
- 02 Apr, 2020 1 commit
-
-
Whyrusleeping authored
Handle Nil values for cbg.Deferred
-
- 01 Apr, 2020 1 commit
-
-
hannahhoward authored
add a self check for nil in cbg.Deferred. Also add an error check for Deferred.Raw = nil which causes an error on unmarshal
-