This is an automated email from the ASF dual-hosted git repository. jensg pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/thrift.git
The following commit(s) were added to refs/heads/master by this push: new 9369443 THRIFT-4879 general performance improvements for netstd library Client: netstd Patch: Jens Geyer 9369443 is described below commit 936944384fc925af696a1e3cec8dad33f94c7cb3 Author: Jens Geyer <je...@apache.org> AuthorDate: Wed Jun 5 22:02:55 2019 +0200 THRIFT-4879 general performance improvements for netstd library Client: netstd Patch: Jens Geyer Removing obsolete (and finally incorrect) assertion. --- lib/netstd/Thrift/Transport/TTransport.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/netstd/Thrift/Transport/TTransport.cs b/lib/netstd/Thrift/Transport/TTransport.cs index fd802ec..7998012 100644 --- a/lib/netstd/Thrift/Transport/TTransport.cs +++ b/lib/netstd/Thrift/Transport/TTransport.cs @@ -134,7 +134,6 @@ namespace Thrift.Transport _hasPeekByte = false; if (1 == length) { - Debug.Assert(totalBytes == 1); // what else? return 1; // we're done } ++totalBytes;