Carl Friedrich Bolz-Tereick pushed to branch branch/startswith-tweak at PyPy / 
pypy


Commits:
48b98346 by Carl Friedrich Bolz-Tereick at 2021-02-04T13:44:54+01:00
call more appropriate methods a bit everywhere

--HG--
branch : intbound-improvements-3

- - - - -
77dc56b7 by Carl Friedrich Bolz-Tereick at 2021-02-04T14:23:10+01:00
more of same

--HG--
branch : intbound-improvements-3

- - - - -
48be10cf by Carl Friedrich Bolz-Tereick at 2021-02-04T14:26:58+01:00
kill unnecessary imports

--HG--
branch : intbound-improvements-3

- - - - -
dc65a713 by Carl Friedrich Bolz-Tereick at 2021-02-04T15:07:36+01:00
document branch

--HG--
branch : intbound-improvements-3

- - - - -
0e49cf0c by Carl Friedrich Bolz-Tereick at 2020-04-26T17:37:20+02:00
make the JIT reason about int_invert and int_neg

--HG--
branch : intbound-improvements-3

- - - - -
38d9440a by Carl Friedrich Bolz-Tereick at 2020-04-29T11:06:35+02:00
better reasoning about upper bounds of or and xor, and about lower bounds of or

--HG--
branch : intbound-improvements-3

- - - - -
4f222570 by Carl Friedrich Bolz-Tereick at 2020-04-28T18:39:09+02:00
fix type-unsafe test

--HG--
branch : intbound-improvements-3

- - - - -
5d70c6a9 by Carl Friedrich Bolz-Tereick at 2021-02-15T17:05:28+01:00
Backed out changeset f1c2880a6b49
(some test fails weirdly, trying to see what caused it)

--HG--
branch : intbound-improvements-3

- - - - -
625bd7d5 by Carl Friedrich Bolz-Tereick at 2021-02-21T12:50:27+01:00
merge intbount-improvements-3

refactor the intbounds analyzer a little bit, add some optimizations for
int_neg and int_invert

- - - - -
e67c4108 by Matti Picus at 2021-02-21T16:24:11+02:00
test, fix for PyObject_Format(space.wrap(type('a')), None)

--HG--
branch : issue-3404

- - - - -
3dc2b420 by Matti Picus at 2021-02-21T20:05:34+02:00
update cffi to c16abb8f809f

- - - - -
fdfe9d93 by Matti Picus at 2021-02-21T20:20:13+02:00
merge branch to fix PyObject_Format for type objects (issue 3404)

- - - - -
eea32247 by Maciej Fijalkowski at 2021-02-23T11:40:07+00:00
update the files for vmprof-python

- - - - -
c4cf8ba6 by Maciej Fijalkowski at 2021-02-23T11:55:19+00:00
Start a new branch to get support for vmprof on aarch64

--HG--
branch : vmprof-aarch64

- - - - -
3f8b27b0 by Maciej Fijalkowski at 2021-02-23T12:20:02+00:00
actually enable vmprof on aarch64

--HG--
branch : vmprof-aarch64

- - - - -
5c2c65f2 by Matti Picus at 2021-02-24T16:49:40+02:00
more upstream syncing - move inttypes.h into pyport.h (issue 3407)

- - - - -
2dd2c855 by Carl Friedrich Bolz-Tereick at 2021-02-25T09:53:25+01:00
copy an optimization from CPython: when the search string of str.replace and
str.split doesn't occur in the string, don't create a copy but just 
reuse self.

--HG--
branch : string-algorithmic-optimizations

- - - - -
3a354ad3 by Carl Friedrich Bolz-Tereick at 2021-02-25T10:10:23+01:00
second optimization: have a fast path in replace for single character strings
here too

--HG--
branch : string-algorithmic-optimizations

- - - - -
5e22ae11 by Carl Friedrich Bolz-Tereick at 2021-02-25T13:02:10+01:00
fix a tiny performance bug in our string search that we ported from cpython.
the condition is a bit complicated:

- we need a last character that is unique in the string
- we are at a position in the string that matches the last character, but a
  previous char is a mismatch
- the next char in the haystack is in the bloom filter

if all this is met, we want to skip a whole needle length, not len(needle) - 1

this was pointed out by Tim Peters here: https://bugs.python.org/msg378301

--HG--
branch : string-algorithmic-optimizations

- - - - -
b8c07440 by Carl Friedrich Bolz-Tereick at 2021-02-25T13:15:00+01:00
add a random test for finding

--HG--
branch : string-algorithmic-optimizations

- - - - -
ebb8901f by Armin Rigo at 2021-02-26T10:39:29+01:00
Tests (passing) for _continulet switching to a different thread

- - - - -
a7da745c by Armin Rigo at 2021-02-26T11:21:42+01:00
Test and fix for #3381

- - - - -
38f81ebc by Armin Rigo at 2021-02-26T11:37:16+01:00
Copy dummy constants from greenlet 1.0.0

- - - - -
36829bf3 by Carl Friedrich Bolz-Tereick at 2021-02-26T11:58:51+01:00
follow what cpython is doing more systematically:

add similar cases, stop using StringBuilder, make a correctly sized llstr
directly. needs a refactoring

--HG--
branch : string-algorithmic-optimizations

- - - - -
888361fd by Carl Friedrich Bolz-Tereick at 2021-02-26T13:40:42+01:00
remove code duplication with rstr by having the real implementation of search
only live in rlib/rstring.py

--HG--
branch : string-algorithmic-optimizations

- - - - -
091c2b01 by Carl Friedrich Bolz-Tereick at 2021-02-26T14:08:44+01:00
maxsplit -> maxcount for replace functions

--HG--
branch : string-algorithmic-optimizations

- - - - -
0dbba608 by Carl Friedrich Bolz-Tereick at 2021-02-26T14:09:59+01:00
fix translation

--HG--
branch : string-algorithmic-optimizations

- - - - -
b63ca915 by Carl Friedrich Bolz-Tereick at 2021-02-26T21:03:03+01:00
remove pdb

--HG--
branch : string-algorithmic-optimizations

- - - - -
528d99e1 by Carl Friedrich Bolz-Tereick at 2021-02-28T14:43:32+01:00
add whatsnew

--HG--
branch : string-algorithmic-optimizations

- - - - -
27181592 by Carl Friedrich Bolz-Tereick at 2021-02-28T14:44:08+01:00
merge string-algorithmic-optimizations

- - - - -
680060b9 by fijal at 2021-03-01T14:18:12+02:00
an attempt to get vmprof going on aarch64

--HG--
branch : vmprof-aarch64

- - - - -
1028285d by fijal at 2021-03-01T14:20:29+02:00
seems sometimes we have mc sometimes we dont

--HG--
branch : vmprof-aarch64

- - - - -
6e0e3220 by fijal at 2021-03-01T14:23:45+02:00
use the real way to do it

--HG--
branch : vmprof-aarch64

- - - - -
6b8b1ffa by Matti Picus at 2021-03-01T14:29:10+02:00
sprinkle more links to heptapod in the docs, update some older pages

- - - - -
7ea34c4d by Maciej Fijalkowski at 2021-03-01T15:17:34+00:00
hopefully add vmprof support to pypy on aarch64

--HG--
branch : vmprof-aarch64

- - - - -
814e0a15 by fijal at 2021-03-01T21:14:32+02:00
close to be merged branch

--HG--
branch : vmprof-aarch64

- - - - -
4f926cc6 by fijal at 2021-03-01T21:14:49+02:00
Implement vmprof support for aarch64

- - - - -
451be290 by Matti Picus at 2021-03-02T07:25:29+02:00
document branch

- - - - -
f57ce76d by Matti Picus at 2021-03-02T08:17:15+02:00
fix structseq attribute setter error message

- - - - -
8e095afd by Matti Picus at 2021-03-02T10:49:08+02:00
sync Py_.*Flags with sys.flags, issue 3409

- - - - -
5bd4267b by Matti Picus at 2021-03-02T11:59:50+02:00
make init_flags a init_function

- - - - -
755189fb by Carl Friedrich Bolz-Tereick at 2021-03-02T13:23:40+01:00
fast path for unicode.upper/lower for ascii

- - - - -
c6e6d80c by Carl Friedrich Bolz-Tereick at 2021-03-02T14:35:35+01:00
add ascii fast paths to the tolower/toupper functions of the unicode dbs too

(the part of the diff around special casing is due to c6650aed42e0 not
regenerating *all* unicodedb versions, only unicodedb_5_2_0)

- - - - -
0d470e57 by Carl Friedrich Bolz-Tereick at 2021-03-02T20:37:27+01:00
some ascii fast paths of latin-1 encoding/decoding

- - - - -
00a76e59 by Carl Friedrich Bolz-Tereick at 2021-03-02T21:27:45+01:00
woops

- - - - -
662757c6 by Carl Friedrich Bolz-Tereick at 2021-03-02T21:37:47+01:00
fix translation (can't iterate over tuples in rpython)

- - - - -
1e30e66c by Carl Friedrich Bolz-Tereick at 2021-03-03T10:02:21+01:00
test and fix in the ascii prefix shortcut

- - - - -
9acd6b83 by Carl Friedrich Bolz-Tereick at 2021-03-03T10:15:29+01:00
fix incorrect test

- - - - -
475f9fc6 by Carl Friedrich Bolz-Tereick at 2021-03-03T11:04:32+01:00
consistent in naming static method with py3.7 branch

- - - - -
062366ed by Carl Friedrich Bolz-Tereick at 2021-03-06T13:19:35+01:00
merge default

--HG--
branch : startswith-tweak

- - - - -


30 changed files:

- extra_tests/cffi_tests/test_c.py
- lib_pypy/_structseq.py
- lib_pypy/cffi/verifier.py
- lib_pypy/greenlet.py
- pypy/doc/Makefile
- pypy/doc/contributing.rst
- pypy/doc/dev_method.rst
- pypy/doc/faq.rst
- pypy/doc/index.rst
- pypy/doc/whatsnew-head.rst
- pypy/interpreter/app_main.py
- pypy/interpreter/test/test_unicodehelper.py
- pypy/interpreter/unicodehelper.py
- pypy/module/_cffi_backend/test/_backend_test_c.py
- pypy/module/_continuation/interp_continuation.py
- pypy/module/_continuation/test/test_translated.py
- pypy/module/cpyext/api.py
- pypy/module/cpyext/include/Python.h
- pypy/module/cpyext/include/pyport.h
- pypy/module/cpyext/include/pythonrun.h
- pypy/module/cpyext/object.py
- pypy/module/cpyext/src/missing.c
- pypy/module/cpyext/test/test_cpyext.py
- pypy/module/cpyext/test/test_object.py
- pypy/module/sys/app.py
- pypy/module/sys/test/test_sysmodule.py
- + pypy/module/test_lib_pypy/test_greenlet_thread.py
- pypy/objspace/std/bytesobject.py
- pypy/objspace/std/test/test_bytesobject.py
- pypy/objspace/std/test/test_unicodeobject.py


View it on GitLab: 
https://foss.heptapod.net/pypy/pypy/-/compare/a44ad5ff3f591b5058f0c618a0d139bf8c2926b0...062366edc3659132e8e7baa8b56129407e6f8252

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


_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to