thrift-iterator / go

decode/encode thrift message without IDL
Apache License 2.0
266 stars 31 forks source link

minor performance improvement #10

Closed jxskiss closed 6 years ago

jxskiss commented 6 years ago
  1. remove unnecessary closures for sake of performance.
  2. change iterator default tmp buffer size to more reasonable 8.
  3. avoid totally copied code in readLarge function.