Closed clin88 closed 7 years ago
As fantarstic (not a typo) as I think this is - I think we should get @abhinav's eyes on here before landing.
Most performance optimizations come with the tradeoff of limiting the flexibility of existing APIs - something that is likely well worth it, but I'd still like the primary author of this repo to sign-off.
Hard to argue with that :)
For the record, I meant when @abhinav was back from vacay :D
@abhinav This is actually a 16x improvement compared to before we started optimizing, which puts us on par with the c implementation.
Optimize serialization by eliminating unnecessary python interaction. This speeds up serialization by an order of magnitude, bringing mean struct serialization speed down to 606us from 2300.
Before
After