diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-02-16T03·14+0200 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-02-17T14·54+0200 |
commit | b8bed7da14b26dcc328075522842dd16aa71b434 (patch) | |
tree | 3a40e0e284b61117b6fb797fbc23f6f58c0d7436 /src/libexpr/json-to-value.cc | |
parent | f67a7007a230c84015793794277c0449e682ab54 (diff) |
libexpr: Optimize prim_attrNames a bit
Instead of having lexicographicOrder() create a temporary sorted array of Attr*:s and copying attr names from that, copy the attr names first and then sort that.
Diffstat (limited to 'src/libexpr/json-to-value.cc')
0 files changed, 0 insertions, 0 deletions