[pypy-commit] [Git][pypy/pypy][branch/py3.6] 25 commits: use more "official" methods on the W_UnicodeObject to do conversion

Carl Friedrich Bolz-Tereick foss at heptapod.net
Sat Apr 11 17:59:40 EDT 2020


Carl Friedrich Bolz-Tereick pushed to branch branch/py3.6 at PyPy / pypy


Commits:
5ae1bcb2 by Carl Friedrich Bolz-Tereick at 2020-04-04T15:28:44+02:00
use more "official" methods on the W_UnicodeObject to do conversion

--HG--
branch : optimize-sre-unicode

- - - - -
e78e6b4e by Carl Friedrich Bolz-Tereick at 2020-04-04T15:38:35+02:00
reuse the string we already have, no need to re-wrap it

--HG--
branch : optimize-sre-unicode

- - - - -
77b7bc5f by Carl Friedrich Bolz-Tereick at 2020-04-04T15:59:01+02:00
add an ascii optimization: for ascii unicode strings, use the much faster
regular byte matching engine

--HG--
branch : optimize-sre-unicode

- - - - -
009bd570 by Carl Friedrich Bolz-Tereick at 2020-04-04T16:36:04+02:00
use an ascii-fastpath for getlower and getupper

--HG--
branch : optimize-sre-unicode

- - - - -
3743aefe by Carl Friedrich Bolz-Tereick at 2020-04-04T21:23:43+02:00
write getlower/upper_ascii in a branch-free way to get less bridges

(note that the multiplication * (ord('a') - ord('A')) actually turns into a
shift by 5, since that is 32)

--HG--
branch : optimize-sre-unicode

- - - - -
7d8b39af by Carl Friedrich Bolz-Tereick at 2020-04-04T21:29:02+02:00
test for f0dd6cd6eec2

--HG--
branch : optimize-sre-unicode

- - - - -
f07956ea by Carl Friedrich Bolz-Tereick at 2020-04-05T13:19:44+02:00
merge default

--HG--
branch : optimize-sre-unicode

- - - - -
4e2d67a5 by Carl Friedrich Bolz-Tereick at 2020-04-05T16:38:01+02:00
move the flags from the contexts to the CompiledPatterns

--HG--
branch : optimize-sre-unicode

- - - - -
c209237d by Carl Friedrich Bolz-Tereick at 2020-04-05T16:38:58+02:00
oops, this is no longer needed

--HG--
branch : optimize-sre-unicode

- - - - -
1c2a9489 by Matti Picus at 2020-04-07T23:28:10+03:00
update release note for latest changes

- - - - -
8417cb73 by Matti Picus at 2020-04-08T07:49:15+03:00
back 18d48fe34950, the problem is distutils.sysconfig not sysconfig

- - - - -
a995c2d6 by Matti Picus at 2020-04-08T07:54:08+03:00
add some distutils.sysconfig variables for compatibility on win32

- - - - -
eb51c742 by Matti Picus at 2020-04-10T14:12:29+03:00
prove that PyObject_SetAttrString works with __getitem__ (working on  pybind11 issues)

- - - - -
49ea27e4 by Matti Picus at 2020-04-10T15:38:12+03:00
Added tag release-pypy3.6-v7.3.1 for changeset 2ad108f17bdb

- - - - -
c8377db7 by Matti Picus at 2020-04-10T15:38:36+03:00
Added tag release-pypy2.7-v7.3.1 for changeset d0d41085a83c

- - - - -
3bf5aece by Matti Picus at 2020-04-10T15:49:41+03:00
update script for release

- - - - -
024cbd9a by Matti Picus at 2020-04-10T16:05:15+03:00
fix number of new contributors

- - - - -
2e80750f by Carl Friedrich Bolz-Tereick at 2020-04-10T15:41:44+02:00
merge default

--HG--
branch : optimize-sre-unicode

- - - - -
d21a77f6 by Carl Friedrich Bolz-Tereick at 2020-04-10T15:43:16+02:00
document branch

--HG--
branch : optimize-sre-unicode

- - - - -
c5bf86cd by Carl Friedrich Bolz-Tereick at 2020-04-10T15:44:58+02:00
merge optimize-sre-unicode: speed up the performance of matching unicode
strings in the sre engine:

- there is a fast path for the case where the whole string is ASCII
- case-insensitive matching of ASCII characters is much faster both for unicode
  and bytes matching

- - - - -
4d0d43d4 by Carl Friedrich Bolz-Tereick at 2020-04-10T15:46:44+02:00
move the rsre constants into their own file

(this is in preparation for eventually supporting 3.7's sre engine)

- - - - -
acb85a41 by Carl Friedrich Bolz-Tereick at 2020-04-10T20:32:33+02:00
a few more explicit utf-8 based unicode tests

- - - - -
8b11ef05 by Armin Rigo at 2020-04-11T21:41:26+02:00
Fix comments

- - - - -
c812613b by Carl Friedrich Bolz-Tereick at 2020-04-11T23:57:09+02:00
merge default

--HG--
branch : py3.6

- - - - -
5e7a51dd by Carl Friedrich Bolz-Tereick at 2020-04-11T23:57:45+02:00
merge heads

--HG--
branch : py3.6

- - - - -


21 changed files:

- .hgtags
- lib_pypy/_sysconfigdata.py
- pypy/doc/release-v7.3.1.rst
- pypy/doc/whatsnew-head.rst
- pypy/module/_sre/interp_sre.py
- pypy/module/_sre/test/test_app_sre.py
- pypy/module/_sre/test/test_sre_buf.py
- pypy/module/cpyext/test/test_sequence.py
- pypy/tool/release/repackage.sh
- rpython/jit/metainterp/optimizeopt/intdiv.py
- rpython/rlib/rsre/rpy/_sre.py
- rpython/rlib/rsre/rsre_char.py
- + rpython/rlib/rsre/rsre_constants.py
- rpython/rlib/rsre/rsre_core.py
- rpython/rlib/rsre/rsre_re.py
- rpython/rlib/rsre/rsre_utf8.py
- rpython/rlib/rsre/test/support.py
- rpython/rlib/rsre/test/test_char.py
- rpython/rlib/rsre/test/test_ext_opcode.py
- rpython/rlib/rsre/test/test_search.py
- rpython/rlib/rsre/test/test_zjit.py


View it on GitLab: https://foss.heptapod.net/pypy/pypy/compare/fc40f10fbbe6c243e4f2d4a1269e1d21b298dcc6...5e7a51dd57185076cd9d63b80bb11f0cd6610714

---
View it on GitLab: https://foss.heptapod.net/pypy/pypy/compare/fc40f10fbbe6c243e4f2d4a1269e1d21b298dcc6...5e7a51dd57185076cd9d63b80bb11f0cd6610714
You're receiving this email because of your account on foss.heptapod.net.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-commit/attachments/20200411/8bfe0fe0/attachment-0001.html>


More information about the pypy-commit mailing list