News for hackers. Stuff that matters.
Re:Pydis – Redis clone in 250 lines of Python, for performan... by smoyer on Sunday November 15, 2020 @03:15PM (#25104389)
I don't think the tone was hostile and if you ignore any hint of tone you might hear, you have to admit that the title is really click-baity (yes I understand that you didn't post it). Regardless of the criticisms of the project, it's great that you're experimenting and I would be curious to know what's causing the reduction in performance ... is it only part of the program or is that the performance of the Python code being interpreted.
Re:Pydis – Redis clone in 250 lines of Python, for performan... by boramalper on Monday November 16, 2020 @02:34AM (#25109105)
> I would be curious to know what's causing the reduction in performance ... is it only part of the program or is that the performance of the Python code being interpreted.

Mostly the latter but also a bit of the former: I could have optimised it further — at the expense of idiomaticity — but I believe gains would be marginal. Other than that, Python is not that fast so you pay some penalties there too.