Kuba Suder • @mackuba.eu on 🦋<p>Lulz, I've done some quick profiling now of my lib Skyfall reading from the Bluesky firehose websocket and just discarding packets, and it looks like as much as ~50% of time might be spent… converting an ascii string to a byte array on one level and then converting it back to an ascii string at the end 💀</p><p>websocket-driver calls String#bytes first, and then I get a byte array from faye-websocket and I call pack('C*') on it to get a string… <a href="https://martianbase.net/tags/rubylang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rubylang</span></a></p>