-
-
Notifications
You must be signed in to change notification settings - Fork 1
Description
As per NLnetLabs/cascade#332, we've noticed that (de)serialization is surprisingly expensive. The problem here is kmip-ttlv's Serde implementation -- it performs a lot of backtracking and string parsing while consuming requests. Rather than completely overhauling that library, it may be preferable to replace it with a local module.
- Add simple benchmarks to measure the difference
- Implement a manual fast-path deserializer
- Implement a manual serializer
- Implement a manual slow-path deserializer
- Implement (randomized) tests