Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
max1993137322dSo 80 microsecond to 14.
Still faster than many people ranging in the seconds or even minutes! -
retoor1164522dI understand that.
The goal of my regex parser was also to beat the time of others. In some cases it succeeded. Happy about that too but it was a struggle -
antigerm226022d
-
antigerm226022d
-
tosensei837522d
-
antigerm226022d@atheist never claimed to be buddy. My goals are strictly annoyance-related.
I love thinking about how their sphincter is all clenched reading my words.
So unclench your ass my brother, life is beautiful -
antigerm226022d@tosensei yes my german friend I am very dumdum. A real clown. My IQ is at least a V.
-
antigerm226022d
-
atheist984322d@retoor @max19931 speed is my thing, but I'm better at math stuff. I'm doing a markup parser and I want to support graphemes, for example emoji like 👩🚀 is actually multiple utf characters, 🚀, zero width join, 👩. I'm in python and it doesn't have built-in support for them. There is 1 library I've found that was basically unmaintained and didn't support the latest version of utf, there's now a fork (as of a week ago 😅) that supports the latest version. But the api isn't great. I looked at forking and updating it myself, but it isn't great code. It doesn't have type annotations, no documentation, the code isn't great. It was easier to just rewrite from scratch. So that's what I've done. I've got the basic string chunking working, now need to make the api a bit nicer. I want a grapheme aware string class, so transparent drop in replacement. That's next.
My evening: going from 8e-5 seconds to 1.4e-5 seconds.
I'm pretty happy. I'm now 3x faster than the next fastest library available.
rant