summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2023-02-13 13:43:32 +0100
committerpennae <82953136+pennae@users.noreply.github.com>2023-02-18 13:17:57 +0100
commit81cf17325659b5f4526fa0d50ac7b403558106a3 (patch)
treeb2875af82387756ec34e442dcd481fa3b710000b /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent5f4e07deb7c44f27d498f8df9c5f34750acf52d2 (diff)
nixos-render-docs: use multiprocessing for options
options processing is pretty slow right now, mostly because the markdown-it-py parser is pure python (and with performance pessimizations at that). options parsing *is* embarassingly parallel though, so we can just fork out all the work to worker processes and collect the results. multiprocessing probably has a greater benefit on linux than on darwin since the worker spawning method darwin uses is less efficient than fork() on linux. this hasn't been tested on darwin, only on linux, but if anything darwin will be faster with its preferred method.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions