DEV Community

Michael Di Prisco
Michael Di Prisco

Posted on

My Journey In The Open Source World - Contributing to other libraries #1

Follow me on Github!

Today I will share some of the contributions I made in the Open Source community, hoping to inspire and motivate someone else to do the same.

I will not talk about all my contributions as many times we are talking about very little impacts on the library itself, but wanted to mention some important milestones here and there.


paralleldrive/cuid2
Moving globalObj and primes outside of functions scopes to prevent reinitialization allowed a small, yet impactful performance improvement for one of the most known UUIDs generator in the JavaScript panorama.


mcollina/hyperid
Did you know converting a function into a statement, declaring a variable and changing a Base64-related method could provide a 5% performance improvement on the fastest UUIDs generator library on npm? I didn't, and was thrilled to find it out!


See you in the next episode!

Oldest comments (0)