Max Zaver

Results 73 comments of Max Zaver

I think this restriction should be lifted, since sometimes we want to deserialize objects in streaming way.

We should probably rewrite borsh to use slices instead of `Read`/`Write`. It might give us a significant performance boost. In that case, we could wrap the slice into `LimitingReader` instead.

So when you are suggested to use `LimitingReader` it might have referred to two different use cases: 1) Making sure that as we deserialize data structure the deserialized object is...

CC @frol , @telezhnaya , @thisisjoshford

I looked at what sigma prime did with load testing. They created 31 Rust types of relatively simple format (30 types have only one field/variant and are not nested). Then...

> We can generate an input for a random nested type, but to generate a proper deserializer we would need to compile it (generate a program, macros will be not...

What a trick :D