Digital Mark λ 📚 🕹 💾 🥃 on Nostr: Got a little nerd-sniped by Computerphile https://www.youtube.com/watch?v=Q2UDHY5as90 ...
Got a little nerd-sniped by Computerphile
https://www.youtube.com/watch?v=Q2UDHY5as90
So I went back to look at a little BASIC-plus I was designing, made a prototype in Python just because it is the easiest string processing (I have tools for this in Scheme, but it's more involved).
You know what grinds my gears? There's no case-insensitive compare without creating two garbage strings:
a.lower() == b.lower()
instead of (string-ci=? a b) or the like. Why is Python slow? THIS SHIT.
#programming #python
https://www.youtube.com/watch?v=Q2UDHY5as90
So I went back to look at a little BASIC-plus I was designing, made a prototype in Python just because it is the easiest string processing (I have tools for this in Scheme, but it's more involved).
You know what grinds my gears? There's no case-insensitive compare without creating two garbage strings:
a.lower() == b.lower()
instead of (string-ci=? a b) or the like. Why is Python slow? THIS SHIT.
#programming #python