Fork me on GitHub
#code-reviews
<
2017-01-19
>
poooogles17:01:11

@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.

poooogles17:01:04

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

poooogles17:01:32

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

sveri18:01:04

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