cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "the modern world where network packets and compiler optimizations are effectively hostile"
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #pypy
rokujyouhitoma has joined #pypy
<simpson>
Stupid question: Reading the code for RPython-level dicts, it looks like there's no way to customize the function used to truncate the hashes; there's a fixed mask and shift.
<simpson>
Is that right? I'm reading some stuff that makes me think that our interpreter's hash function output is much better in its higher bits than its lower bits, so I'd like to do that instead.
<simpson>
And I'm contemplating how to make that patch with a minimum of fuss.
<simpson>
I guess I should profile and test to make sure that this is worthwhile first!
rokujyouhitoma has quit [Ping timeout: 260 seconds]
rokujyouhitoma has quit [Ping timeout: 248 seconds]
<cfbolz>
simpson: why not just fix the hash function?
<simpson>
cfbolz: Number of operations, mostly. I'm experimenting with using PCG-family hashes for very *very* fast hashing.
<kenaan>
arigo default 20f7723ff895 /: (ronan, arigo) Issue #2604: skip this test (fails on some Linux because pypy uses the new getrandom() syscall)
<LarstiQ>
bendlas: ^^
arigato has joined #pypy
<kenaan>
rlamy py3.6 fef10d5acba0 /lib-python/3/opcode.py: Revert opcode.py to the 3.5 version until we implement the new bytecodes
<fijal>
simpson: our measures showed that hashing is rarely something interesting to optimize
maverick__ is now known as rmariano
antocuni has joined #pypy
<fijal>
njs: hi
<simpson>
fijal: It may be something that Monte does more often than Python. It came up as a relatively hot spot on a few not-quite-benchmark workloads.
<fijal>
ok
<simpson>
Maybe I'm looking in the wrong place and I should figure out why we're making so many sets and maps.
vkirilichev has quit [Remote host closed the connection]
<kenaan>
rmariano py3.6 5041f795bfb2 /pypy/module/posix/: Add posix.fspath Add fspath to posix, so it's available in os.fspath. New feature added in CPython 3.6: https://...
vkirilichev has joined #pypy
vkirilichev has quit [Ping timeout: 260 seconds]
rokujyouhitoma has joined #pypy
<kenaan>
rmariano py3.6 b3e217ab4fd8 /lib-python/3/_collections_abc.py: Comment out async generators temporarily This is not yet supported (added in Python 3.6), so at the moment it's f...
<kenaan>
rmariano py3.6 5a01e5b5546a /pypy/module/exceptions/: Add ModuleNotFoundError New exception added in Python 3.6. It's a subclass of ImportError. https://docs.python.or...
cstratak has quit [Ping timeout: 276 seconds]
lritter has quit [Remote host closed the connection]
rokujyouhitoma has quit [Ping timeout: 260 seconds]
realtime has quit [Read error: Connection reset by peer]
Samureus has quit [Remote host closed the connection]
realtime has joined #pypy
asmeurer__ has quit [Quit: asmeurer__]
asmeurer__ has joined #pypy
<kenaan>
rmariano py3.6 6538ff6342b3 /lib-python/3/weakref.py: Remove import on weakref._remove_dead_weakref The function is already defined in the module, so it can be importe...
<antocuni>
ronan: this happens all the time if the version of vmprof is not perfectly in-sync with pypy (yes, we should find a more robust way of handling this mess) :(
<ronan>
antocuni: even after installing master, I couldn't use vmprof on py3.5, due to #146 :(
<kenaan>
arigo py3.6 d438c0218901 /pypy/interpreter/: (johanfforsberg, vxgmichel, arigo) First steps towards async generators (pff, whole afternoon)
<kenaan>
arigo py3.6 766b07d52393 /: merge heads
arigato has quit [Quit: Leaving]
<kenaan>
rlamy py3.5 6159e89116af /pypy/objspace/std/bytesobject.py: (ronan, vaclav) Improve performance of bytearray.extend() by rewriting some of it at app-level
asmeurer has joined #pypy
ronan has quit [Ping timeout: 240 seconds]
asmeurer has quit [Quit: asmeurer]
kenaan has quit [Ping timeout: 276 seconds]
pjenvey has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]