On 14.01.24 15:30, Bob Friesenhahn wrote:
The fastest JSON parser I am aware of was developed by a previous
work-mate. It is at
"https://github.com/gdavidbutler/jsonTrivialCallbackParser". There is a
trade-off in that it places more responsibilities on the using code and
thus any performance issues will be due to the using code. If this was
attached to Python (using a C-language glue layer), then Python would be
the bottleneck. Perhaps the license (LGPL-3) is not good for OpenIndiana.
Using C code to read JSON and transform it to the database used for the
rest of the work seems more feasible.
We already use RapidJSON. But the base JSON is then turned into OOP
classes and so on. It will require some carefull programming. But yes
something like rust or C to read the JSON repo to a base definition and
having the python only handle the image/base parts is the idea.
-Till
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss