hadrianl / ibapi

Interactive Brokers API - GoLang Implement
MIT License
137 stars 59 forks source link

PERFORMANCE #1

Closed hadrianl closed 4 years ago

hadrianl commented 5 years ago

1.use zap instead of logrus; 2.benchmark test 3.sync.Pool? 4.field2Bytes may need to fix, do not use type-assertion 5.array instead of slice,such as sizebtyes 6.readMsgBytes? read exactly size instead of loop? 7.a better way to Init defalut object? no reflect?

hadrianl commented 5 years ago

used bufio.scanner to solve No.6