Skip to content

Commit

Permalink
python/file_formats: Remove reference to DAW JSON Link, which has no …
Browse files Browse the repository at this point in the history
…Python bindings anyway
  • Loading branch information
jpmckinney authored Aug 26, 2024
1 parent e367dab commit 8c07e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/python/file_formats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ For critical paths involving *small files*, use `orjson <https://pypi.org/projec

.. note::

We can switch to the `Python bindings for simdjson <https://github.com/TkTech/pysimdjson>`__. For JSON documents with known structures, `JSON Link <https://github.com/beached/daw_json_link>`__ is fastest, but the files relevant to us have unknown structures.
We can switch to the `Python bindings for simdjson <https://github.com/TkTech/pysimdjson>`__.

For *large files*, use the `same techniques <https://ocdskit.readthedocs.io/en/latest/contributing.html#streaming>`__ as OCDS Kit to stream input using `ijson <https://pypi.org/project/ijson/>`__, stream output using `iterencode <https://docs.python.org/3/library/json.html#json.JSONEncoder.iterencode>`__, and postpone evaluation using iterators. See its `brief tutorial <https://ocdskit.readthedocs.io/en/latest/library.html#working-with-streams>`__ on streaming and reuse its `default method <https://ocdskit.readthedocs.io/en/latest/_modules/ocdskit/util.html>`__.

Expand Down

0 comments on commit 8c07e6f

Please sign in to comment.