The holidays are around the corner and so I have a little for you my lil' crabbies.🤭 🦀

So here's the plan:
Until December 23rd, I'll post some performance progress I've made over the last months in this thread until we can finally unwrap() the gift together, Ok()?

Mhh...I can already smell the oxidized metal...🤤


Commit e96349f

Yeah...there were times, were I _really_ struggled...

Commit 9d1d7ae

Hell yeah! More than twice as fast! And we are now talking milliseconds, not seconds anymore.
But this is Rust - can we get even faster?
Wait until tomorrow...😏

nighty night 👋


Commit 150b7c8

...and we keep improving!
Now down to ~700ms. That's another 12% faster!

Hm...might we even be able to...

· · Web · 1 · 0 · 0

Unfortunately, I can't release this as planned.😥
I'm so sorry, but I found a very weird (concurrency!) bug and I don't want to ship it with this bug in it. Real life of a developer, I guess...😞

(I found this bug writing and executing a specific doc test...What!?)

I'm so disappointed right now.😭

I'll look into it after xmas and keep you updated.

I wish you some happy holidays! 🎅

@musicmatze @guenther

Yay, I fixed the bug!🎉
It wasn't a concurrency bug in the traditional sense (it's after all ¯\_(ツ)_/¯), but rather a code path that was sometimes executed and sometimes not, depending on whether the other thread had a chance to run or not.

New plan: release this within 2021 (as alpha)!😁 🤞

@musicmatze @guenther

Commit 487efd1

Where did we leave off? Oh, right...might we even be able to...

...CROSS THE 500ms mark!?😱


Next toot will be the official release. Stay tuned.😉

Introducing csv-diff - the fastest CSV-diffing library in the world - written in !🚀 🎉

- compare two CSVs with 1,000,000 rows x 9 columns in under 500ms
- thread-pool agnostic 🧵🧶


This crate has been made possible by the awesome Rust community! Thank you!🤝 ❤️

Commit 48e91bc

Oops, turns out you can now diff 1 million rows of in only 400ms.🚀

All I had to do was to use ahash::AHashMap instead of std HashMap. ¯\_(ツ)_/¯

@janriemer @musicmatze now that i have received this many updates in this software's development, I'm somewhat curious what it is.

@guenther 😄 🤗 Wait for it...I'll toot one more update today before releasing it.😉
Hopefully, I haven't set the expectations too high!?😇

(leaving out musicmatze here, as he is not interacting anymore and I don't want to spam him)

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!