python3Packages.amazon-ion: include c_ext module#461391
python3Packages.amazon-ion: include c_ext module#461391dotlambda merged 1 commit intoNixOS:masterfrom
Conversation
83f27aa to
af0e150
Compare
af0e150 to
aa76db8
Compare
aa76db8 to
4b6dea0
Compare
4b6dea0 to
86db55e
Compare
86db55e to
5a9e2c1
Compare
5a9e2c1 to
6a4a9ba
Compare
nix shell .\#nixpkgs-review
nixpkgs-review rev --print-result 6a4a9ba4
|
6f34c2f to
98f52f7
Compare
|
|
I guess |
Ehh... I can try to play with P.S. Thank you for helping and for quick feedback. |
98f52f7 to
aca443b
Compare
This should bring 60x speed up in parsing text Ion. Resolves NixOS#461284
aca443b to
a76d0f2
Compare
|
Address problem of slow
amazon-ionpackage due to miss of C extension module (link claiming 60x speedup vs pure implementation).See #461284
Latest release of ion-python/amazon-ion at the moment is 0.13.0 where submodule is pointing to commit of ion-c with version 1.1.2.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage ²../result/bin/¹.¹ Tested effect with next commands
(changed folder so
pythonwill load modulers relative to builtsite-packagesfolder whereamazonpackage/module resides)python -c 'import amazon.ion.simpleion as ion; print(ion.__IS_C_EXTENSION_SUPPORTED)'True² part of the output of
nixpkgs-review rev --print-result 4b6dea07(prfails withurllib.error.HTTPError: HTTP Error 401: Unauthorized)nixpkgs-reviewresultGenerated using
nixpkgs-review.Command:
nixpkgs-reviewCommit:
4b6dea07193748d86a1a2ff889e9f6bc0c0e8e37x86_64-linux✅ 8 packages built:
Add a 👍 reaction to pull requests you find important.