One of the C/C++ single header libraries I maintain is hashmap.h. This library is a super light weight and easily integrated hashmap - I’m not focused on the performance necessarily here, it’s really there primarily as a nice-to-use hashmap for when you just want to throw something in there. But that doesn’t mean I want the performance to suck either. If I can make it faster without compromising the API, I’m totally gonna do that!
As a new year starts I generally have some long awaited cleanup to do on my C/C++ single header libraries. Maybe I need to update the CI scripts because they are out of date, maybe I have some features I want to add, or maybe I want to test more things.
For those that do not know I have six main libraries that I maintain that are single header and work across C/C++:
TL;DR - I’m pretty much done with Twitter (here-in named the “birdshite” ðĶĪðĐ).
Let’s be honest - Twitter wasn’t exactly ideal for a pretty long time. The sheer amount of ads that were pushed into the feed even long before Space Karen bought the birdshite wasn’t great. I had already blocked thousands of accounts that were pushing promoted tweets into my feed, and had to fight the UI that would constantly try and move me back to the never-ending algorithmic feed that all these advert-centric businesses so love as it eeks out some percentage more time where you eyeballs are glued to their content.
After four relaxing weeks off since I left Unity, I’m pleased to announce I’ve joined the Verse team over at Epic.
Today was my first day, so obviously this is the day that I feel the most like an impostor! I’ve done this a few times now (jumping contract to contract when I worked at Codeplay, and then moving to AMD, Unity, and now Epic), and the feeling always passes once you become familiar with the way things are done at the new gig.
In a previous post I looked at floating-point compression, and it generated quite a lot of interest on Twitter, with lots of people suggesting things. So I haven’t tried them all (only the first few that people suggested), but I thought I’d present the results I did try. First, the chart!
There was three different approaches that I looked at with this chart.
zfp One thing that was suggested was zfp which claims to compress floating-points really well.