[pypy-commit] [Git][pypy/pypy][branch/py3.7] 22 commits: one less copy of strings in memmove (and not make it immediately old) as well...

Maciej Fijalkowski (@fijal) foss at heptapod.net
Thu Nov 4 04:15:23 EDT 2021



Maciej Fijalkowski pushed to branch branch/py3.7 at PyPy / pypy


Commits:
b752e5b3 by fijal at 2021-10-12T13:02:01+02:00
one less copy of strings in memmove (and not make it immediately old) as well as a start of _offset_in_bytes

--HG--
branch : experiment-with-ffi-addresses

- - - - -
1bfe0bd4 by fijal at 2021-10-12T13:19:26+02:00
typo

--HG--
branch : experiment-with-ffi-addresses

- - - - -
38f2227b by fijal at 2021-10-12T13:28:37+02:00
oops

--HG--
branch : experiment-with-ffi-addresses

- - - - -
1a892ad9 by fijal at 2021-10-19T14:59:31+02:00
quick and dirty hack to always pass directly offset of OffsetInBytes

--HG--
branch : experiment-with-ffi-addresses

- - - - -
7b71c6ac by fijal at 2021-10-19T15:21:08+02:00
try harder to please the rtyper

--HG--
branch : experiment-with-ffi-addresses

- - - - -
a4d5a1c0 by fijal at 2021-10-19T15:34:19+02:00
hide this from the JIT

--HG--
branch : experiment-with-ffi-addresses

- - - - -
67cd159f by fijal at 2021-10-19T16:12:53+02:00
try to use (unsafely!) the new primitive

--HG--
branch : experiment-with-ffi-addresses

- - - - -
be8a2185 by fijal at 2021-10-19T16:14:02+02:00
typo

--HG--
branch : experiment-with-ffi-addresses

- - - - -
9b4baf75 by fijal at 2021-11-02T10:06:53+02:00
try harder to pin things when they go through layers of offset in bytes

--HG--
branch : experiment-with-ffi-addresses

- - - - -
4b612c29 by fijal at 2021-11-02T10:14:25+02:00
run your tests kids

--HG--
branch : experiment-with-ffi-addresses

- - - - -
57e66fbb by fijal at 2021-11-02T10:27:21+02:00
oops

--HG--
branch : experiment-with-ffi-addresses

- - - - -
b7aa32cf by fijal at 2021-11-02T10:28:54+02:00
rename the w_bytes to bytes to avoid confusion

--HG--
branch : experiment-with-ffi-addresses

- - - - -
3c9fb317 by fijal at 2021-11-02T10:42:55+02:00
jit cant see this

--HG--
branch : experiment-with-ffi-addresses

- - - - -
6e993679 by fijal at 2021-11-02T12:03:50+02:00
display more digits

--HG--
branch : experiment-with-ffi-addresses

- - - - -
c52a0356 by fijal at 2021-11-02T12:04:40+02:00
actually make this float

--HG--
branch : experiment-with-ffi-addresses

- - - - -
59c2704a by fijal at 2021-11-02T13:28:39+02:00
this is a hack for bytes *only*

--HG--
branch : experiment-with-ffi-addresses

- - - - -
320c8755 by fijal at 2021-11-03T11:49:04+02:00
revert the RPython changes (one accidental, one ported to default)

--HG--
branch : experiment-with-ffi-addresses

- - - - -
7e83b615 by fijal at 2021-11-03T12:09:48+02:00
improve the test

--HG--
branch : experiment-with-ffi-addresses

- - - - -
0821142a by fijal at 2021-11-03T12:11:37+02:00
clarify the comment

--HG--
branch : experiment-with-ffi-addresses

- - - - -
de4a34b1 by fijal at 2021-11-03T12:23:58+02:00
I think fix the function for non-bytes also mark it as pypy hacks

--HG--
branch : experiment-with-ffi-addresses

- - - - -
e19e3830 by fijal at 2021-11-03T12:26:15+02:00
rename this function too

--HG--
branch : experiment-with-ffi-addresses

- - - - -
00ec77a7 by Maciej Fijalkowski at 2021-11-04T08:15:16+00:00
Merge branch 'branch/experiment-with-ffi-addresses' into 'branch/py3.7'

improve amount of copying for ssl

See merge request pypy/pypy!842

--HG--
branch : py3.7

- - - - -


8 changed files:

- extra_tests/cffi_tests/cffi1/test_ffi_obj.py
- lib-python/3/ssl.py
- lib_pypy/_cffi_ssl/_stdssl/__init__.py
- pypy/module/_cffi_backend/ctypefunc.py
- pypy/module/_cffi_backend/ctypeptr.py
- pypy/module/_cffi_backend/func.py
- pypy/module/_cffi_backend/moduledef.py
- pypy/module/_cffi_backend/test/test_recompiler.py


View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/bed2cf602d799e9cdbf2549e5f04ba3df1c96717...00ec77a75a4f27258fbcf179f2222f542fbaaca0

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/bed2cf602d799e9cdbf2549e5f04ba3df1c96717...00ec77a75a4f27258fbcf179f2222f542fbaaca0
You're receiving this email because of your account on foss.heptapod.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pypy-commit/attachments/20211104/c6cc1beb/attachment.html>


More information about the pypy-commit mailing list