<antocuni>
note that your code is fragile even on CPython. If you add s2=s before the for loop, it will become quadratic
<ctismer>
arigato: Oh, I did not expect this! I even thought this optimization was from you :-D
Atque has quit [Quit: ...]
<antocuni>
ctismer: note that I am antocuni, not arigato 😅
<antocuni>
but yes, AFAIK armin added the optimization for CPython ages ago. But it's impossible to do the same in PyPy because we don't have reference counting
<ctismer>
antocuni: Heh, my eyes are really improving... OK, probably I was so stunned with the optimization that I did not read on :)
yuiza` has joined #pypy
yuiza has left #pypy [#pypy]
yuiza` has quit [Remote host closed the connection]
yuiza has joined #pypy
gef has joined #pypy
gef has quit [Ping timeout: 272 seconds]
yuiza has quit [Remote host closed the connection]
yuiza has joined #pypy
yuiza- has joined #pypy
yuiza- has quit [Remote host closed the connection]
yuiza__ has joined #pypy
yuiza has left #pypy [#pypy]
yuiza has joined #pypy
yuiza__ has quit [Remote host closed the connection]
yuiza__ has joined #pypy
yuiza_ has quit [Quit: Connection closed for inactivity]
no_gravity has joined #pypy
<no_gravity>
Do you guys know if pypy has the option to configure where the cache files are written to?
stkrdknmibalz has quit [Quit: WeeChat 3.0.1]
<no_gravity>
cpython has it from 3.8 on via "PYTHONPYCACHEPREFIX".
no_gravity has quit [Quit: leaving]
luckydonald has joined #pypy
luckydonald has quit [Changing host]
gef has joined #pypy
gef_ has joined #pypy
yuiza__ has quit [Remote host closed the connection]
gef_ has quit [Ping timeout: 252 seconds]
gef has quit [Ping timeout: 268 seconds]
Julian has joined #pypy
gef has joined #pypy
gef_ has joined #pypy
Julian has quit [Quit: leaving]
Atque has joined #pypy
gef has quit [Ping timeout: 248 seconds]
gef_ has quit [Ping timeout: 272 seconds]
<mattip>
no_gravity: (for the logs) it seems we have not yet implemented "PYTHONPYCACHEPREFIX"
Atque is now known as Atque-
Atque- is now known as Atque
samth has quit [Ping timeout: 276 seconds]
samth has joined #pypy
idnar has quit [Ping timeout: 256 seconds]
idnar has joined #pypy
mathieu_ has joined #pypy
gef has joined #pypy
gef_ has joined #pypy
Atque has quit [Quit: ...]
gef__ has joined #pypy
gef_ has quit [Ping timeout: 252 seconds]
mattil has joined #pypy
gef__ has quit [Ping timeout: 272 seconds]
gef has quit [Ping timeout: 268 seconds]
mathieu_ has quit [Ping timeout: 272 seconds]
mattil has quit [Read error: Connection reset by peer]