Baptiste de La Gorce
Baptiste de La Gorce
I tried to optimize the C++ code and I have so far managed to speed up by 8.7 x for RawJSON object serialisation. 1) the WriteRawValue function was poorly optimized...
I time with line-profiler https://pypi.org/project/line-profiler/ . @profile is a decorator to put before fonctions we want to line profile . If you name my exemple "test_RawJSON.py" , for profiling juste...
Do you want me to make a pull request ? I'm not sure how to include changes to rapidjson and not just in python-rapidjson.
I juste edited my comment (https://github.com/python-rapidjson/python-rapidjson/issues/169#issuecomment-1266835103) with new elements . I have tryed to optimizing Python str dump too (it take 10x time of a copy for simple a string..)....
I coded a PyBytesBuffer.h new file , inspired by MemoryBuffer but with direct PyBytes allocations . I have know a x20 speedup, for a RawJSONBYTES with dumpb ! The cost...
I think PyQt in Qt for python, could greatly benefit from python nogil . I've been developing applications in PyQt and the gil generates a lot of problems for using...
Maybe you should also contact the guys at Qt for Python (PySide). In our case of use (https://www.smartaudiotools.com) , it's a real challenge to build with GIL a software with...
Ok, i understand that the priority is to integrate it into python 3.13 and that all efforts must be put into that. but maybe you have some info on how...