summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-12-05 10:03:58 -0800
committerbecker33 <becker33@llnl.gov>2016-12-05 10:03:58 -0800
commit41b8f31bcd299d4ea7dd40138f725f77576278a3 (patch)
treed3f50e9e465860c651ee9856aa3cff53628dc077 /LICENSE
parent161d6205b2dcc61296913701f1b088157fcea118 (diff)
downloadspack-41b8f31bcd299d4ea7dd40138f725f77576278a3.tar.gz
spack-41b8f31bcd299d4ea7dd40138f725f77576278a3.tar.bz2
spack-41b8f31bcd299d4ea7dd40138f725f77576278a3.tar.xz
spack-41b8f31bcd299d4ea7dd40138f725f77576278a3.zip
Use JSON for the database instead of YAML. (#2189)
* Use JSON for the database instead of YAML. - JSON is much faster than YAML *and* can preserve ordered keys. - 170x+ faster than Python YAML when using unordered dicts - 55x faster than Python YAML (both using OrderedDicts) - 8x faster than C YAML (with OrderedDicts) - JSON is built into Python, unlike C YAML, so doesn't add a dependency. - Don't need human readability for the package database. - JSON requires no major changes to the code -- same object model as YAML. - add to_json, from_json methods to spec. * Add tests to ensure JSON and YAML don't need to be ordered in DB. * Write index.json first time it's not found instead of requiring reindex. * flake8 bug.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions