databricks / sjsonnet

Apache License 2.0
267 stars 55 forks source link

Static Object Optimizations #197

Closed ahirreddy closed 10 months ago

ahirreddy commented 11 months ago

Before: 855MB for the parsed file image (9)

After: 425MB image (10)

ahirreddy commented 10 months ago

Sorry I missed your most important question. The performance impact here was undetectable in the benchmark. I think the fact that the object interning is thread-local and unsynchronized makes it pretty fast.