hts-python icon indicating copy to clipboard operation
hts-python copied to clipboard

Use cffi's new out-of-line mode for faster CPython

Open lrowe opened this issue 10 years ago • 3 comments

CFFI 1.0 introduced a new out-of-line mode to reduce the overhead when running on CPython.

See:

  • http://morepypy.blogspot.com/2015/05/cffi-101-released.html
  • https://cffi.readthedocs.org/en/latest/overview.html#out-of-line-example-abi-level-out-of-line

(Wishlist item rather than bug.)

lrowe avatar Jul 28 '15 18:07 lrowe

cool. not sure I fully grok this, but faster is good. is it just import times that are improved?

brentp avatar Jul 28 '15 19:07 brentp

I had thought it had an effect on runtimes under CPython, but looks like it is just import time. More info here: http://morepypy.blogspot.com/2015/05/cffi-10-beta-1.html

lrowe avatar Jul 28 '15 19:07 lrowe

ok. still, seems like ti could be useful, and potentially make the install easier.

brentp avatar Jul 28 '15 20:07 brentp