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


Commits:
76a1fba8 by Carl Friedrich Bolz-Tereick at 2021-03-12T21:55:00+01:00
(in-progress) another attempt: try to slice up too huge traces into trace chunks

already working: trace chunk for the original trace, ends with
guard_always_fails (and a fake finish). next step: support attaching a chunky
bridge to that guard

--HG--
branch : open-ended-traces

- - - - -
9e92bb94 by Carl Friedrich Bolz-Tereick at 2021-03-13T15:39:38+01:00
a solution for bridges, but probably the wrong one

--HG--
branch : open-ended-traces

- - - - -
76553ee8 by Carl Friedrich Bolz-Tereick at 2021-03-13T21:32:41+01:00
slightly different approach for dealing wwith too long bridges:

- when finding a too long bridge, mark the loop token as "has extra-long
  bridges"
- when tracing a bridge from such a loop token, produce a segmented trace if
  necessary

--HG--
branch : open-ended-traces

- - - - -
58dd078f by Carl Friedrich Bolz-Tereick at 2021-03-13T21:33:20+01:00
rewrite guard_always_fails away

--HG--
branch : open-ended-traces

- - - - -
0a2dbbbd by Carl Friedrich Bolz-Tereick at 2021-03-13T21:42:31+01:00
add x86 test

--HG--
branch : open-ended-traces

- - - - -
f5736c98 by Carl Friedrich Bolz-Tereick at 2021-03-14T14:32:41+01:00
something still going wrong in the real pypy. this seems to help: there are
actually tag overflows sometimes (but still another problem left)

--HG--
branch : open-ended-traces

- - - - -
a0602f98 by Carl Friedrich Bolz-Tereick at 2021-03-14T14:38:38+01:00
factor out into its own method

--HG--
branch : open-ended-traces

- - - - -
59129cc5 by Carl Friedrich Bolz-Tereick at 2021-03-14T19:38:06+01:00
another hard to test, real-world change: sometimes we are in a bridge, but
*also* found some merge points. mark the bridge for segmented tracing in that
case anyway

--HG--
branch : open-ended-traces

- - - - -
d78131ca by Carl Friedrich Bolz-Tereick at 2021-03-14T22:20:19+01:00
move to a method

--HG--
branch : open-ended-traces

- - - - -
423fc6e9 by Carl Friedrich Bolz-Tereick at 2021-03-14T22:29:47+01:00
clarification

--HG--
branch : open-ended-traces

- - - - -
9f479f75 by Carl Friedrich Bolz-Tereick at 2021-03-15T09:26:30+01:00
fix important problem: so far the segmented traces didn't have a label, 
which
means that loops would never be closed!

--HG--
branch : open-ended-traces

- - - - -
2939cb37 by Carl Friedrich Bolz-Tereick at 2021-03-15T12:30:10+01:00
somewhat hacky fix for virtualizables

--HG--
branch : open-ended-traces

- - - - -
30d31c47 by Carl Friedrich Bolz-Tereick at 2021-03-15T20:15:31+01:00
remove test, it's now in test_tracelimit

--HG--
branch : open-ended-traces

- - - - -
d8f4c315 by Carl Friedrich Bolz-Tereick at 2021-03-17T14:48:18+01:00
rename for easier tab completion

--HG--
branch : open-ended-traces

- - - - -
68498532 by Carl Friedrich Bolz-Tereick at 2021-03-19T13:01:28+01:00
fix jit-summary parsing

--HG--
branch : open-ended-traces

- - - - -
4abd07ca by Carl Friedrich Bolz-Tereick at 2021-07-20T12:29:34+02:00
merge default

--HG--
branch : open-ended-traces

- - - - -
a9c51111 by Carl Friedrich Bolz-Tereick at 2022-01-16T21:22:11+01:00
speed up dict.copy by having a strategy-specific implementation of it. also
allows speeding up emptydict.update(...)

--HG--
branch : speedup-dict-copy

- - - - -
fb58d8ee by Carl Friedrich Bolz-Tereick at 2022-01-19T13:08:07+01:00
expose copy as a method

--HG--
branch : speedup-dict-copy

- - - - -
c620cb37 by Carl Friedrich Bolz-Tereick at 2022-01-19T13:13:14+01:00
merge default

--HG--
branch : speedup-dict-copy

- - - - -
abc4c261 by Carl Friedrich Bolz-Tereick at 2022-01-23T21:28:22+01:00
progress on making sure virtual dict copies stay virtual:

- stop reindex the dict after it has been copied (I don't quite get why
  that was done in the first place in rordereddict, it's not done in rdict
  and if anything it should probably be done in the source dict, not the
  new copy)

- need a bit of @dont_look_inside to hide some opaque operations from the JIT
  that it doesn't support

not quite done: arraycopy of virtual gcarray-of-structs isn't supported in 
the
JIT yet

--HG--
branch : speedup-dict-copy

- - - - -
5e082bfe by Carl Friedrich Bolz-Tereick at 2022-01-24T11:38:29+01:00
support arraycopy for array-of-structs with virtual src/dest. this allows dict
copies to stay virtual

still something wrong in the backend version of test_dict, need to investigate

--HG--
branch : speedup-dict-copy

- - - - -
2c86d90a by Carl Friedrich Bolz-Tereick at 2022-01-24T12:22:38+01:00
use str key, a prebuilt instances fails in the backend test

--HG--
branch : speedup-dict-copy

- - - - -
a7306694 by Carl Friedrich Bolz-Tereick at 2022-02-02T20:05:07+01:00
make it possible to trace into update of virtual dicts

--HG--
branch : speedup-dict-copy

- - - - -
16973dbe by Carl Friedrich Bolz-Tereick at 2022-03-26T12:59:51+01:00
support for two-argument enumerate with a constant second argument

- - - - -
6fc0dea3 by Matti Picus at 2022-03-26T22:13:52+03:00
update release note

- - - - -
c06b898d by Matti Picus at 2022-03-25T15:22:39+03:00
add a test (from cython) for setting the d_base.doc of a wrapper-descriptor

- - - - -
acb4eade by Matti Picus at 2022-03-25T15:24:13+03:00
fix for the new test: allocate a wrapperbase struct when using slot wrappers 
from C

- - - - -
42f08851 by Carl Friedrich Bolz-Tereick at 2022-03-25T15:04:13+01:00
merge default

--HG--
branch : speedup-dict-copy

- - - - -
8cd6782f by Matti Picus at 2022-03-27T09:27:40+03:00
fix backport: the value is not const on Python2.7

- - - - -
d0996460 by Matti Picus at 2022-03-28T07:39:12+03:00
clean up test

- - - - -
63db5318 by Matti Picus at 2022-03-28T07:52:20+03:00
update release note

- - - - -
e848fbb7 by Ronan Lamy at 2022-03-29T13:05:32+01:00
Start backporting branch 'py3-interplevel-ast-rewrite' to default

--HG--
branch : backport-interplevel-ast-rewrite

- - - - -
2bcee0ce by Matti Picus at 2022-03-29T19:53:08+03:00
Added tag release-pypy2.7-v7.3.9 for changeset 8e99af2f9b8e

- - - - -
7e5ab21c by Matti Picus at 2022-03-29T19:53:44+03:00
Added tag release-pypy3.7-v7.3.9 for changeset 7e0ae7515334

- - - - -
a4098c61 by Matti Picus at 2022-03-29T19:54:02+03:00
Added tag release-pypy3.8-v7.3.9 for changeset 4b1398fe9d76

- - - - -
4749b71a by Matti Picus at 2022-03-29T19:54:18+03:00
Added tag release-pypy3.9-v7.3.9 for changeset 05fbe3aa5b08

- - - - -
cf21465f by Ronan Lamy at 2022-03-29T18:31:34+01:00
Add space.callable_w()

--HG--
branch : backport-interplevel-ast-rewrite

- - - - -
9cb1496f by Ronan Lamy at 2022-03-29T18:51:59+01:00
Backport interp-level ast_rewrite

--HG--
branch : backport-interplevel-ast-rewrite

- - - - -
c4ce7bde by Carl Friedrich Bolz-Tereick at 2022-03-29T19:56:45+02:00
remove enumerate mention (it's not really relevant for pypy users), add 
mention
of performance regression fix

- - - - -
87124a84 by Ronan Lamy at 2022-03-29T19:42:31+01:00
Add test_astrewrite

--HG--
branch : backport-interplevel-ast-rewrite

- - - - -
806bf163 by Ronan Lamy at 2022-03-29T19:51:19+01:00
Backport space._cached_compile()

--HG--
branch : backport-interplevel-ast-rewrite

- - - - -
5d1b54f4 by Matti Picus at 2022-03-30T00:25:48+03:00
update versions.json

- - - - -
8c1d382e by Matti Picus at 2022-03-30T00:38:42+03:00
remove outdated whatsnew_head from how-to-release

- - - - -
b40614ed by Matti Picus at 2022-03-30T00:44:36+03:00
remove draft status from release note

- - - - -
af3b0320 by Carl Friedrich Bolz-Tereick at 2022-03-30T10:08:45+02:00
merge speedup-dict-copy: make dict.copy much faster, also emptydict.update(dict)

also change the JIT to make sure that copied virtual dicts are virtual, and
that updating a virtual dict with another one does not force either.

- - - - -
c2596d5b by Ronan Lamy at 2022-03-30T11:42:53+01:00
Enable assert rewriting by default for apptest_XXX files

--HG--
branch : backport-interplevel-ast-rewrite

- - - - -
76c10d9f by Ronan Lamy at 2022-03-30T12:38:17+01:00
Add missing file

--HG--
branch : backport-interplevel-ast-rewrite

- - - - -
649a2dc3 by Ronan Lamy at 2022-03-30T12:54:51+01:00
fix issue with test module docstrings

--HG--
branch : backport-interplevel-ast-rewrite

- - - - -
e974d980 by Ronan Lamy at 2022-03-30T16:37:09+01:00
Close branch before merging

--HG--
branch : backport-interplevel-ast-rewrite

- - - - -
7cceac31 by Ronan Lamy at 2022-03-30T16:38:20+01:00
merge branch backport-interplevel-ast-rewrite

- - - - -
b7d1143e by Ronan Lamy at 2022-03-30T16:50:56+01:00
Backed out changeset b5752865884b

- - - - -
3e3c2ba3 by Carl Friedrich Bolz-Tereick at 2022-03-30T18:20:15+02:00
merge heads

- - - - -
7fc3d607 by Ronan Lamy at 2022-03-30T19:39:08+01:00
Simplify TinyObjSpace.__init__()

- - - - -
7cf846d3 by Ronan Lamy at 2022-03-31T17:19:32+01:00
Remove obsolete script

- - - - -
4751bccc by Ronan Lamy at 2022-03-31T19:12:18+01:00
Remove direct uses of gettestobjspace() in tests

- - - - -
9cfc134f by Matti Picus at 2022-03-31T23:37:48+03:00
backport uint32 conversion of start argument in zlib.crc32 and zlib.alder32 
(issue 3717)

- - - - -
bfdb926b by Carl Friedrich Bolz-Tereick at 2022-04-01T12:24:44+02:00
#3717: fix zlib ustart handling that started being a problem for zlib v1.2.12

- - - - -
6b9bb7a0 by Carl Friedrich Bolz-Tereick at 2022-04-01T13:24:29+02:00
a few small optimizations to list sorting that make it allocate memory a bit
less aggressively. seems to give ~10% on sorting non-tiny lists of ints

- - - - -
6807390d by Carl Friedrich Bolz-Tereick at 2022-04-01T17:47:06+02:00
(Łukasz Langa, E-Paine, mgorny): bpo-42278: Use tempfile.TemporaryDirectory
rather than tempfile.mktemp in pydoc (GH-23200) (GH-28026)

(updated for Python 2.7 by Michał Górny)

- - - - -
bf50aa94 by Carl Friedrich Bolz-Tereick at 2022-04-01T17:50:53+02:00
(Miguel Brito, Łukasz Langa, Michał Górny): bpo-43124: Fix smtplib multiple
CRLF injection (GH-25987) (GH-28038)

issue #3710

- - - - -
2cb152ed by Carl Friedrich Bolz-Tereick at 2022-04-01T19:41:57+02:00
fix translation (some timsort users don't use lists at all, apparently)

- - - - -
e8017173 by Ronan Lamy at 2022-04-06T16:28:30+01:00
test cleanup

- - - - -
060b6d08 by Carl Friedrich Bolz-Tereick at 2022-04-07T21:48:33+02:00
special method shortcut, take 2: this time, try to create the shortcuts
automatically from the interp2app instances in the TypeDefs. needs cleanup and
tests

--HG--
branch : special-method-shortcut-2

- - - - -
b4be9fa6 by Carl Friedrich Bolz-Tereick at 2022-04-07T21:54:02+02:00
add a test, make iter use a shortcut

--HG--
branch : special-method-shortcut-2

- - - - -
253ddc6b by Carl Friedrich Bolz-Tereick at 2022-04-07T22:07:04+02:00
shortcut for the most common case of binary operations

--HG--
branch : special-method-shortcut-2

- - - - -
e3fee167 by Carl Friedrich Bolz-Tereick at 2022-04-07T22:24:58+02:00
slices don't work, fix the binop approach

--HG--
branch : special-method-shortcut-2

- - - - -
bd07d2c0 by Carl Friedrich Bolz-Tereick at 2022-04-08T11:40:09+02:00
refactor somewhat, support for dict iteration and bytes

--HG--
branch : special-method-shortcut-2

- - - - -
522faa7e by Carl Friedrich Bolz-Tereick at 2022-04-08T11:43:01+02:00
make sure that old style classes don't have shortcuts

--HG--
branch : special-method-shortcut-2

- - - - -
bd4fc29d by Carl Friedrich Bolz-Tereick at 2022-04-08T12:35:49+02:00
don't lookup __set__ twice

--HG--
branch : special-method-shortcut-2

- - - - -
1b87a1c1 by Carl Friedrich Bolz-Tereick at 2022-04-08T12:39:00+02:00
don't use *args if we generate it anyway

--HG--
branch : special-method-shortcut-2

- - - - -
55338504 by Carl Friedrich Bolz-Tereick at 2022-04-08T13:02:18+02:00
add a checker that tests whether the result looks correct. only run when
testing

--HG--
branch : special-method-shortcut-2

- - - - -
4d158680 by Carl Friedrich Bolz-Tereick at 2022-04-08T13:19:19+02:00
ouch, this made a tuple with an unwrapped None

--HG--
branch : special-method-shortcut-2

- - - - -
8120da19 by Carl Friedrich Bolz-Tereick at 2022-04-08T13:19:34+02:00
returning None wraps it

--HG--
branch : special-method-shortcut-2

- - - - -
a6ed0d0a by Carl Friedrich Bolz-Tereick at 2022-04-08T13:37:08+02:00
fix test

--HG--
branch : special-method-shortcut-2

- - - - -
87ec5f74 by Carl Friedrich Bolz-Tereick at 2022-04-08T13:51:00+02:00
comparisons

--HG--
branch : special-method-shortcut-2

- - - - -
14f69a06 by Carl Friedrich Bolz-Tereick at 2022-04-08T13:51:08+02:00
generator.next

--HG--
branch : special-method-shortcut-2

- - - - -
0348b16d by Carl Friedrich Bolz-Tereick at 2022-04-08T13:54:03+02:00
test for comparisons

--HG--
branch : special-method-shortcut-2

- - - - -
20af6d6d by Carl Friedrich Bolz-Tereick at 2022-04-10T15:36:32+02:00
NotImplemented can occur obviously, fix like this

--HG--
branch : special-method-shortcut-2

- - - - -
80b3d9f3 by Carl Friedrich Bolz-Tereick at 2022-04-10T15:52:53+02:00
fix test

--HG--
branch : special-method-shortcut-2

- - - - -
33669d72 by Carl Friedrich Bolz-Tereick at 2022-04-10T16:36:05+02:00
refactor buffer object to be more Liskov-y

--HG--
branch : special-method-shortcut-2

- - - - -
80aa413b by Carl Friedrich Bolz-Tereick at 2022-04-10T16:57:01+02:00
- have some careful checking code that would have found the problem in
  eb550a9d8752
- don't inline the fallback

--HG--
branch : special-method-shortcut-2

- - - - -
8e4f5074 by Carl Friedrich Bolz-Tereick at 2022-04-10T17:15:50+02:00
clarify some inheritance hierarchies

--HG--
branch : special-method-shortcut-2

- - - - -
2e991af9 by Carl Friedrich Bolz-Tereick at 2022-04-10T17:33:01+02:00
disable shortcuts for micronumpy (some trouble there)

--HG--
branch : special-method-shortcut-2

- - - - -
8956670d by Carl Friedrich Bolz-Tereick at 2022-04-10T18:19:26+02:00
merge default

--HG--
branch : special-method-shortcut-2

- - - - -
23a3b0d3 by Carl Friedrich Bolz-Tereick at 2022-04-12T13:25:27+02:00
ouch, fix callable proxies

--HG--
branch : special-method-shortcut-2

- - - - -
bc2dbf39 by Carl Friedrich Bolz-Tereick at 2022-04-15T14:40:17+02:00
fix test

--HG--
branch : special-method-shortcut-2

- - - - -
f1e98d3c by Carl Friedrich Bolz-Tereick at 2022-04-15T15:30:40+02:00
merge special-method-shortcut-2: speed up the python interpreter (jitted code
is unchanged): auto-generate rpython-level shortcut methods for many special
methods. this speeds up the interpreter greatly because we don't need to 
lookup
the special method and don't need to go through the general call machinery 
at
all

the effect is comparable to CPython's type slots, but all autogenerated from
TypeDefs. it only works for built-in types at this point.

an empty for loop over a range gets 50% faster with this optimization in the
interpreter

- - - - -
d2007bbe by Matti Picus at 2022-04-14T21:19:19+03:00
MSVC has a copysign, remove macro definition (bpo 42120)

- - - - -
a39a358a by Carl Friedrich Bolz-Tereick at 2022-04-17T19:10:33+02:00
ouch: the variable 'name' in this function was used for something else 
(and
it's not even needed in the loop)

- - - - -
f2a542ac by Carl Friedrich Bolz-Tereick at 2022-04-17T19:33:17+02:00
use %T

- - - - -
7b0f244e by Carl Friedrich Bolz-Tereick at 2022-04-18T12:44:13+02:00
don't load varname twice in the LOAD_NAME path

- - - - -
4d9c202f by Carl Friedrich Bolz-Tereick at 2022-04-18T22:21:51+02:00
experiment with globals cache again

this time most of the logic is in in the celldict strategy itself. it is
actually not using the version! instead, we introduce a second cell for every
name that is ever cached in a code object.

--HG--
branch : global-caching-again

- - - - -
98c1f47d by Carl Friedrich Bolz-Tereick at 2022-04-19T20:49:17+02:00
Module.w_dict is properly immutable I think?

--HG--
branch : global-caching-again

- - - - -
7b155534 by Carl Friedrich Bolz-Tereick at 2022-04-19T21:11:08+02:00
optimize STORE_GLOBAL too

--HG--
branch : global-caching-again

- - - - -
ee3b78c7 by Carl Friedrich Bolz-Tereick at 2022-04-19T21:23:37+02:00
support for LOAD_NAME too

--HG--
branch : global-caching-again

- - - - -
fa3c9f72 by Carl Friedrich Bolz-Tereick at 2022-04-21T14:21:31+02:00
support for caching of builtins

--HG--
branch : global-caching-again

- - - - -
8c031a8e by Carl Friedrich Bolz-Tereick at 2022-04-21T14:36:24+02:00
add a shortcut for __len__

- - - - -
72d4bac8 by Carl Friedrich Bolz-Tereick at 2022-04-22T13:07:06+02:00
this still failed on 32bit linux. weird. trying an extreme number to see
whether it passes then.

- - - - -
66028b48 by Carl Friedrich Bolz-Tereick at 2022-04-22T13:16:34+02:00
try to fix these two on 32bit

- - - - -
3464b428 by Carl Friedrich Bolz-Tereick at 2022-04-22T13:54:42+02:00
restructure that code

--HG--
branch : global-caching-again

- - - - -
8075497f by Carl Friedrich Bolz-Tereick at 2022-04-22T13:56:45+02:00
just use struct to implement the simulation, it's like 100x faster (some
mapdict tests were seriously slow because of these functions)

- - - - -
62639a37 by Carl Friedrich Bolz-Tereick at 2022-04-22T21:33:43+02:00
a comment and an assert

--HG--
branch : global-caching-again

- - - - -
6e989419 by Carl Friedrich Bolz-Tereick at 2022-04-23T13:29:33+02:00
merge global-caching-again:

speed up the interpreter by caching global and builtin lookups on the code
object

- - - - -
12ec098d by Carl Friedrich Bolz-Tereick at 2022-04-23T13:55:06+02:00
maybe this fixes 32bit

- - - - -
f143075a by Carl Friedrich Bolz-Tereick at 2022-04-23T19:40:15+02:00
this part of the test is just wrong

- - - - -
752667f5 by Carl Friedrich Bolz-Tereick at 2022-04-24T21:17:25+02:00
merge heads

- - - - -
aaef50e9 by Matti Picus at 2022-04-25T14:47:37+03:00
underline not needed on windows for hypot, copysign anymore

- - - - -
eb1b2835 by Carl Friedrich Bolz-Tereick at 2022-04-26T22:22:32+02:00
ouch: caching of reference constants in JitCodes was broken

(this also leads to worse code produced in the frontend, because eg the
heapcache thinks its different constants)

- - - - -
0083418b by Carl Friedrich Bolz-Tereick at 2022-04-29T12:39:24+02:00
make the exception transformer not introduce calls to ll_issubclass, instead
emit the correct int_between for the type check directly

it runs after inlining, so the direct call is not removed. it shows up in
profiles for some weird programs.

- - - - -
1789fa64 by Carl Friedrich Bolz-Tereick at 2022-04-29T17:59:39+02:00
remove very old comments

- - - - -
f17e5a60 by Carl Friedrich Bolz-Tereick at 2022-05-03T12:23:30+02:00
remove repeated live instructions

--HG--
branch : liveness-as-instruction

- - - - -
fef49dd2 by Carl Friedrich Bolz-Tereick at 2022-05-03T21:34:22+02:00
switch the way that liveness is representend in the jitcodes. so far it is done
as a dict mapping pc to a shared triple of shared strings. Those dicts take up
a lot of static space, lookups in them show up in profiles of the jit.

instead, represent liveness as an instruction. the instruction is skipped when
tracing and blackholing, but is read when producing and consuming resume data.
The instruction's argument is an offset into a single global big string, 
that
compactly encodes the sets of live registers.

intermediate checkin

--HG--
branch : liveness-as-instruction

- - - - -
e725e0f8 by Carl Friedrich Bolz-Tereick at 2022-05-05T19:33:22+02:00
fix vmprof

--HG--
branch : liveness-as-instruction

- - - - -
05357b28 by Matti Picus at 2022-05-05T20:39:23+03:00
update openssl downloads

- - - - -
d569179d by Carl Friedrich Bolz-Tereick at 2022-05-06T10:34:24+02:00
fix codewriter tests

--HG--
branch : liveness-as-instruction

- - - - -
ac241c2c by Carl Friedrich Bolz-Tereick at 2022-05-06T12:23:29+02:00
fix tests

--HG--
branch : liveness-as-instruction

- - - - -
6bdc7cc5 by Carl Friedrich Bolz-Tereick at 2022-05-06T12:38:07+02:00
more fixes

--HG--
branch : liveness-as-instruction

- - - - -
8c5b8a45 by Carl Friedrich Bolz-Tereick at 2022-05-08T20:54:47+02:00
remove debugging attributes

--HG--
branch : liveness-as-instruction

- - - - -
a12d2f1a by Carl Friedrich Bolz-Tereick at 2022-05-08T21:50:15+02:00
two byte offsets are big enough (the pypy liveness string is 9650 bytes, so
plenty of margin to 65536)

--HG--
branch : liveness-as-instruction

- - - - -
4a586737 by Carl Friedrich Bolz-Tereick at 2022-05-09T20:28:54+02:00
add a passing test for pypy2

- - - - -
302adc8b by Carl Friedrich Bolz-Tereick at 2022-05-09T21:46:24+02:00
merge liveness-as-instructions:

instead of encoding the liveness of local registers in each jitcode as a dict
mapping pc to a (shared) instance of a class with three strings, do the
following: add a live instruction in the jitcode that that has as its argument
an offset into a string that compactly encodes liveness.

This makes the pypy binary about 7MB smaller, which is ~9% of its size: there
are about 15000 jitcodes, and 15k dicts take a lot of memory.

- - - - -
598a01f2 by Carl Friedrich Bolz-Tereick at 2022-05-10T21:28:09+02:00
issue #3732: jit calling the key function

(does not help enough, unfortunately. the profile shows the comparison being
the slow thing in my example benchmark)

- - - - -
e8bd5fbf by Ronan Lamy at 2022-05-11T03:14:34+01:00
rm obsolete code

- - - - -
f23f981b by Matti Picus at 2022-05-11T06:18:25+03:00
on releases, build OWN + JIT

- - - - -
ced9ba84 by Carl Friedrich Bolz-Tereick at 2022-05-11T21:45:19+02:00
try to revive this very old mechanism for understanding the amount of static
data

- - - - -
31c78115 by Carl Friedrich Bolz-Tereick at 2022-05-13T19:56:10+02:00
don't use a dict for duplicate mode checking

(this is actually the only place in all of pypy that uses dicts of type
char: None, so let's just remove that)

- - - - -
db59857d by Carl Friedrich Bolz-Tereick at 2022-05-14T12:42:33+02:00
small fix: make the pattern 'string[0]' to convert a str to a char work 
also
when string is already a char (before it would convert the char to a str to a
char)

- - - - -
af5e69b4 by Carl Friedrich Bolz-Tereick at 2022-05-13T21:43:30+02:00
use dict_to_switch to get rid of this constant dict

(maybe there could be an rpython optimization for that too)

- - - - -
1505badf by Carl Friedrich Bolz-Tereick at 2022-05-13T22:04:10+02:00
remove unused field

- - - - -
5aec960c by Carl Friedrich Bolz-Tereick at 2022-05-13T22:16:13+02:00
another single-use dictionary type in cpyext flags initialization

instead of looking up function pointers in a dict, unroll the loop

- - - - -
6657cab9 by Carl Friedrich Bolz-Tereick at 2022-05-13T23:01:20+02:00
another dict type

- - - - -
6e74d271 by Carl Friedrich Bolz-Tereick at 2022-05-13T23:09:11+02:00
remove dead global

- - - - -
ec2f5411 by Carl Friedrich Bolz-Tereick at 2022-05-14T13:22:44+02:00
move dict_to_switch to objectmodel, use it in micronumpy

- - - - -
494e1594 by Carl Friedrich Bolz-Tereick at 2022-05-14T15:55:00+02:00
a few more constant dicts in the JIT

- - - - -
28727482 by Carl Friedrich Bolz-Tereick at 2022-05-14T16:24:27+02:00
some more dicts in micronumpy

- - - - -
d06eeb03 by Carl Friedrich Bolz-Tereick at 2022-05-14T19:25:56+02:00
merge default

--HG--
branch : open-ended-traces

- - - - -
0b2d30e3 by Carl Friedrich Bolz-Tereick at 2022-05-14T19:30:34+02:00
fix open-ended-traces in combination with liveness-as-instructions

--HG--
branch : open-ended-traces

- - - - -
4cd8bdde by Matti Picus at 2022-05-14T22:55:16+03:00
more micronumpy dict fixes for some NumPy C-API implementation pieces

- - - - -
72c282d1 by Matti Picus at 2022-05-14T23:11:08+03:00
test, fix PyDict_Contains (issue 3742)

- - - - -
95349b79 by Matti Picus at 2022-05-15T07:35:22+03:00
fix test

- - - - -
c4efbbfa by Carl Friedrich Bolz-Tereick at 2022-05-15T13:07:09+02:00
merge open-ended-traces to default

it has been on py3.8/3.9 for a while to see whether it was stable, then I
forgot about it. seems it's stable.

- - - - -
0f8ed1aa by Matti Picus at 2022-05-15T22:34:32+03:00
fix translation on windows

- - - - -
85872ac0 by Carl Friedrich Bolz-Tereick at 2022-05-16T09:58:56+02:00
rename file

- - - - -
9d1d641d by Carl Friedrich Bolz-Tereick at 2022-05-16T11:07:54+02:00
fix two test. behaviour with segmented traces looks good! the first one had to
be rewritten to do the recursion via the portal, not in some random interp
level function

- - - - -
9c774bf0 by Carl Friedrich Bolz-Tereick at 2022-05-16T13:20:43+02:00
#3744 make list.count use the same fast paths as list.index

- - - - -
61122db1 by Carl Friedrich Bolz-Tereick at 2022-05-16T20:21:14+02:00
small improvement to int.bit_length for the jit: expose unwrapping and
rewrapping to tracing

- - - - -
90a0fd0f by Carl Friedrich Bolz-Tereick at 2022-05-16T22:24:11+02:00
preallocate the digit list in a plausible size in rbigint.frombytes

- - - - -
3e3e6bf4 by Carl Friedrich Bolz-Tereick at 2022-05-16T23:17:44+02:00
#3733: add a fast path for getrandbits(n) where n <= 31: this doesn't 
turn the
random bits into a bytes, then into an rbigint, only to discover that it fits
into a word-sized integer

- - - - -
37fc2605 by Carl Friedrich Bolz-Tereick at 2022-05-17T11:01:21+02:00
this part of sqlite3 is just wrong: converters are for converting the results
coming from the db to Python objects, not for converting the parameters. The
condition was useless, because the converters dict uses str keys, whereas the
lookup used a type as a key, always returning None (expensively)

- - - - -
dbf27c1b by Carl Friedrich Bolz-Tereick at 2022-05-18T18:14:01+02:00
merge default

--HG--
branch : m1

- - - - -


30 changed files:

- .hgtags
- lib-python/2.7/pydoc.py
- lib-python/2.7/smtplib.py
- lib-python/2.7/test/test_dict.py
- lib-python/2.7/test/test_dictviews.py
- lib-python/2.7/test/test_smtplib.py
- lib_pypy/_sqlite3.py
- pypy/conftest.py
- pypy/doc/how-to-release.rst
- pypy/doc/release-v7.3.9.rst
- pypy/interpreter/astcompiler/misc.py
- pypy/interpreter/baseobjspace.py
- pypy/interpreter/gateway.py
- pypy/interpreter/generator.py
- pypy/interpreter/module.py
- pypy/interpreter/pycode.py
- pypy/interpreter/pyframe.py
- pypy/interpreter/pyopcode.py
- pypy/interpreter/typedef.py
- pypy/module/_cffi_backend/cbuffer.py
- pypy/module/_io/interp_io.py
- pypy/module/_jitlog/test/test__jitlog.py
- pypy/module/_multiprocessing/test/test_interp_semaphore.py
- pypy/module/_random/interp_random.py
- pypy/module/_random/test/test_random.py
- pypy/module/_rawffi/interp_rawffi.py
- pypy/module/_vmprof/test/test__vmprof.py
- pypy/module/_weakref/interp__weakref.py
- pypy/module/bz2/test/test_bz2_compdecomp.py
- pypy/module/bz2/test/test_bz2_file.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/3766bd2b7dd89ec75ba36ada3097a50cceeb0de7...dbf27c1bdc66b5c461312a20cff528ee3d3e75d2

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


_______________________________________________
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-le...@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: arch...@mail-archive.com

Reply via email to