cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | the pypy angle is to shrug and copy the implementation of CPython as closely as possible, and staying out of design decisions
derpydoo has joined #pypy
jcea has quit [Ping timeout: 265 seconds]
derpydoo has quit [Ping timeout: 240 seconds]
derpydoo has joined #pypy
auk has quit [Quit: Leaving]
lritter has joined #pypy
otisolsen70 has joined #pypy
marvin_ has quit [Remote host closed the connection]
marvin_ has joined #pypy
derpydoo has quit [Quit: derpydoo]
<ctismer> Hi friends, today I encountered a coding example on linkedin. Comparing speed of finding an added char. Two implementations are given, the one using Counter() is faster.
<ctismer> Deep-Thought:pyside-setup tismer$ python3 letters.py
<ctismer> Junior 0.45669212500797585
<ctismer> Senior 0.22418970800936222
<ctismer> Junior 0.3972723750048317
<ctismer> Deep-Thought:pyside-setup tismer$ pypy3 letters.py
<ctismer> Senior 0.33543829194968566
<ctismer> The result was surprising in several respects. The speedup of pypy 3.9 against Python 3.11 was not exhilarating, and the senior solution was even slower. How come?
Atque has quit [Remote host closed the connection]
Atque has joined #pypy
Techcable has quit [Ping timeout: 250 seconds]
Techcable has joined #pypy
marvin_ has quit [Remote host closed the connection]
marvin_ has joined #pypy
lritter has quit [Ping timeout: 246 seconds]
jcea has joined #pypy
otisolsen70 has quit [Quit: Leaving]