Allow use of orjson instead of json

The difference in speed seems negligible at start up, which is when
most time is taken for actually parsing JSON. I could potentially be
missing something but profiling didn't point to any discernable
difference.
This commit is contained in:
Rapptz
2021-07-05 04:01:19 -04:00
parent e0a9365d61
commit 88d825a803
4 changed files with 27 additions and 6 deletions

View File

@ -39,6 +39,9 @@ extras_require = {
'sphinx==4.0.2',
'sphinxcontrib_trio==1.1.2',
'sphinxcontrib-websupport',
],
'speed': [
'orjson>=3.5.4',
]
}