Re: Help with Streaming and Chunk Processing for Large JSON Data (60 GB) from Kenna API

Liste des GroupesRevenir à cl python 
Sujet : Re: Help with Streaming and Chunk Processing for Large JSON Data (60 GB) from Kenna API
De : grant.b.edwards (at) *nospam* gmail.com (Grant Edwards)
Groupes : comp.lang.python
Date : 30. Sep 2024, 17:44:50
Autres entêtes
Message-ID : <mailman.6.1727711092.3018.python-list@python.org>
References : 1 2 3 4 5
User-Agent : slrn/1.0.3 (Linux)
On 2024-09-30, Left Right via Python-list <python-list@python.org> wrote:
Whether and to what degree you can stream JSON depends on JSON
structure. In general, however, JSON cannot be streamed (but commonly
it can be).
>
Imagine a pathological case of this shape: 1... <60GB of digits>. This
is still a valid JSON (it doesn't have any limits on how many digits a
number can have). And you cannot parse this number in a streaming way
because in order to do that, you need to start with the least
significant digit.

Which is how arabic numbers were originally parsed, but when
westerners adopted them from a R->L written language, thet didn't flip
them around to match the L->R written language into which they were
being adopted.

So now long numbers can't be parsed as a stream in software. They
should have anticipated this problem back in the 13th century and
flipped the numbers around.





Date Sujet#  Auteur
30 Sep 24 o Re: Help with Streaming and Chunk Processing for Large JSON Data (60 GB) from Kenna API1Grant Edwards

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal