Guest46 has joined #pypy
Guest46 has quit [Client Quit]
fotis has joined #pypy
fotis has quit [Ping timeout: 240 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 258 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 276 seconds]
smarr has quit [Quit: Connection closed for inactivity]
fotis has joined #pypy
fotis has quit [Ping timeout: 272 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 258 seconds]
smarr has joined #pypy
<
cfbolz>
smarr: the range thing sounds weird
<
cfbolz>
Are you using it directly in a for loop? Is there a step?
fotis has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
fotis has joined #pypy
Julian has joined #pypy
fotis has quit [Ping timeout: 245 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 258 seconds]
Julian has quit [Ping timeout: 258 seconds]
Julian has joined #pypy
otisolsen70 has joined #pypy
fotis has joined #pypy
Julian has quit [Ping timeout: 276 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 240 seconds]
Julian has joined #pypy
mattip has quit [Ping timeout: 268 seconds]
mattip has joined #pypy
fotis has quit [Ping timeout: 256 seconds]
<
smarr>
cfbolz: this is how the loop looked:
<
smarr>
for i in range(start, end + 1):
<
smarr>
int_driver.jit_merge_point(do_expr=do_expr, idx_write=idx_write)
<
smarr>
idx_write.write_value(frame, Integer(i))
<
smarr>
do_expr.execute(frame)
<
smarr>
I was thinking, maybe it should be an `xrange` instead.
<
smarr>
but rewrote it to this instead:
<
smarr>
while i <= end:
<
smarr>
idx_write.write_value(frame, Integer(i))
<
smarr>
driver.jit_merge_point(self=self)
<
smarr>
do_expr.execute(frame)
Julian has quit [Ping timeout: 258 seconds]
fotis has joined #pypy
Julian has joined #pypy
fotis has quit [Ping timeout: 240 seconds]
<
cfbolz>
smarr: ah, maybe because it crosses the merge point
<
cfbolz>
Usually it should be fine
ronan has quit [Ping timeout: 256 seconds]
ronan__ has joined #pypy
ronan__ is now known as ronan
ronan has quit [Quit: Leaving]
fotis has joined #pypy
fotis has quit [Ping timeout: 258 seconds]
jacob22 has quit [Quit: Konversation terminated!]
fotis has joined #pypy
Julian has quit [Ping timeout: 276 seconds]
ronan has joined #pypy
Julian has joined #pypy
<
arigato>
smarr: using we_are_jitted adds no cost to the interpreter, it's turned into C code that is essentially "if (0)"
<
smarr>
arigato: hm, ok, thanks
stkrdknmibalz has quit [Quit: WeeChat 3.0.1]
Julian has quit [Quit: leaving]
fotis has quit [Ping timeout: 245 seconds]
<
mattip>
it seems cpython 3.11 will get "zero cost" exception handling
greedom has joined #pypy
fotis has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
greedom has quit [Remote host closed the connection]
fotis has joined #pypy
greedom has joined #pypy
fotis has quit [Ping timeout: 258 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 245 seconds]
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
fotis has joined #pypy
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
greedom has quit [Quit: Konversation terminated!]
greedom has joined #pypy
smarr has quit [Quit: Connection closed for inactivity]
fotis has quit [Ping timeout: 252 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 256 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 272 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 250 seconds]
greedom has quit [Remote host closed the connection]
fotis has joined #pypy
greedom has joined #pypy
jacob22 has joined #pypy
fotis has quit [Ping timeout: 258 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 272 seconds]
otisolsen70 has quit [Quit: Leaving]
fotis has joined #pypy
greedom has quit [Remote host closed the connection]
fotis has quit [Ping timeout: 276 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 272 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 258 seconds]