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 | so many corner cases, so little time
Atque has joined #pypy
otisolsen70 has joined #pypy
<cfbolz> mattip: I've written him a message
<cfbolz> the main known speed regression is the dict stuff
<mattip> thanks
<fijal> cfbolz: do we have something in __pypy__ to check "is this a buffer?"
<cfbolz> fijal: I don't think so
Dejan has quit [Quit: Leaving]
otisolsen70_ has joined #pypy
otisolsen70 has quit [Ping timeout: 272 seconds]
otisolsen70_ has quit [Remote host closed the connection]
otisolsen70 has joined #pypy
<fijal> bort: push failed:
<fijal> 'remote repository changed while pushing - please try again'
<fijal> is this normal?
<cfbolz> 🤔
<cfbolz> never had that
<fijal> no, I can't push
<fijal> I can pull, but I can't push
<mattip> maybe remove evolve?
<fijal> I don't have one?
<fijal> marmoute: ^^^
<fijal> any clue how to work around that?
<fijal> updating mercurial did not help
otisolsen70 has quit [Quit: Leaving]
otisolsen70 has joined #pypy
<marmoute> This is probably not the same error
<marmoute> what's your version of everything ?
<marmoute> Can I get you to jump on the suppose channel at : https://mattermost.heptapod.net/
otisolsen70 has quit [Quit: Leaving]
Atque has quit [Remote host closed the connection]
Atque has joined #pypy
otisolsen70 has joined #pypy
<mattip> python pep 653: Immortal objects https://www.python.org/dev/peps/pep-0683/
<mattip> the first step to removing the GIL
Atque has quit [Quit: ...]
<Corbin> Is there a hash-cons or union-find helper in rlib? I don't mind writing it, but I was hoping that somebody had already figured out the details around symbols and interning.
<cfbolz> Corbin: there isn't
<Corbin> cfbolz: Oh well. Is there a better way to intern than to have a dict as a field on a global PBC?
<cfbolz> Corbin: intern what? strings?
<Corbin> cfbolz: I'm parsing a Lisp-like S-expression, with holes. I'm then going to substitute stuff into the holes, as well as pattern-match parts of the tree. So they'll be strings or trees.
<cfbolz> right
<cfbolz> for prolog I just coded it
<cfbolz> (it's a bit different in prolog because of backtracking, so the union find needs to be integrated with the trail)
<Corbin> Sure. I'm just looking to reuse code. I don't like that I'm not able to convert this sort of opportunity into an rlib improvement.
<Corbin> Thanks for the advice; I appreciate it.
shodan45 has quit [Ping timeout: 240 seconds]
<cfbolz> Corbin: it's our experience that some of these things are really quite integrated in every language
<cfbolz> so in theory they are similar, but in practice it's extremely hard to write something that can cover different use cases
<Corbin> That's true. And RPython JITs aren't perfect Futamura evaluators either, so it's not just about API but about performance guarantees; sometimes we have to write special code just for the JIT.
<cfbolz> yes
otisolsen70 has quit [Quit: Leaving]
shodan45 has joined #pypy
slav0nic has joined #pypy
Atque has joined #pypy
slav0nic has quit [Ping timeout: 252 seconds]
fijal has quit [Ping timeout: 240 seconds]
ronan has quit [Read error: Connection reset by peer]
fijal has joined #pypy
ctismer has quit [Read error: Connection reset by peer]
ronan has joined #pypy
yizawa has quit [Read error: Connection reset by peer]
ctismer has joined #pypy
cfbolz has quit [Read error: Connection reset by peer]
yizawa has joined #pypy
krono has quit [Ping timeout: 252 seconds]
phlebas has quit [Read error: Connection reset by peer]
agronholm has quit [Read error: Connection reset by peer]
idnar has quit [Read error: Connection reset by peer]
jerith has quit [Read error: Connection reset by peer]
agronholm has joined #pypy
krono has joined #pypy
idnar has joined #pypy
cfbolz has joined #pypy
phlebas has joined #pypy
jerith has joined #pypy
shodan45 has quit [Ping timeout: 256 seconds]