4 ms·
It takes 330 seconds on a machine where the top OpenJDK version takes 5.75 secs and my .NET version takes 4.8 seconds. However it's just several lines of code a
by buybackoff 3y ago
It takes 330 seconds on a machine where the top OpenJDK version takes 5.75 secs and my .NET version takes 4.8 seconds. However it's just several lines of code and I used ChatGPT as a fun use case for how long it would take to have something working. It took around 5 mins. So if one needs to run this code only once Pandas would be a huge win considering development time. Interestingly the RAM usage was much more than 14 GB input file, probably 2-2.5x of that.
BTW asking ChatGPT to utilize all cores did not yield anything working in reasonable time.
- justinl33 3y agohahaha... nice! Out of interest, could you share more about your .NET solution? (the specifics but not the code)
- buybackoff 3y agoIt's all on GitHub Multiple languages: https://github.com/gunnarmorling/1brc/discussions https://github.com/gunnarmorling/1brc/discussions My repo: https://github.com/buybackoff/1brc https://github.com/buybackoff/1brc