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 | insert pithy quote here
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> ```
<smarr> do_expr.execute(frame)
<smarr> ```
<smarr> I was thinking, maybe it should be an `xrange` instead.
<smarr> but rewrote it to this instead:
<smarr> ```
<smarr> while i <= end:
<smarr> i = start
<smarr> idx_write.write_value(frame, Integer(i))
<smarr> driver.jit_merge_point(self=self)
<smarr> do_expr.execute(frame)
<smarr> i += 1
<smarr> ```
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
<cfbolz> (but please use a pastebin next time, eg https://paste.ubuntu.com/ )
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]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7797 [ronan: force build, hpy-0.0.3]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8793 [ronan: force build, hpy-0.0.3]
<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
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8793 [ronan: force build, hpy-0.0.3]
greedom has joined #pypy
fotis has quit [Ping timeout: 258 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 245 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7797 [ronan: force build, hpy-0.0.3]
greedom has quit [Remote host closed the connection]
greedom has joined #pypy
greedom has quit [Remote host closed the connection]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7798 [Batuhan Taskaya: force build, py3.8-isidentical-ast-feature-version]
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]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7798 [Batuhan Taskaya: force build, py3.8-isidentical-ast-feature-version]
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]