code-reviews

2017-01-19T17:29:11.000844Z

@sveri Cheers for the response. Sadly the data and inbound data structures are pretty fixed, but the actual keys are fairly unknown. Looks as though the underlying data structure the flatten is working on is the slow bit however.

2017-01-19T17:30:04.000846Z

I'm using https://github.com/ninjudd/clojure-protobuf to deserialise raw protobuf to a flatland.protobuf.PersistentProtocolBufferMap to flatten.

2017-01-19T17:30:32.000848Z

the flatten function on this takes around 300µs, compared to 36µs on a normal PersistentArrayMap

sveri 2017-01-19T18:37:04.000850Z

@poooogles Did you know there is transit now which also has a java implementation? You might want to try that one instead for deserialisation?