#compressionstream — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #compressionstream, aggregated by home.social.
-
We have a new winner in terms of #AI content detection accuracy! The https://contentatscale.ai/ai-content-detector/ #detector is impressive in its accuracy, despite being more than 200x slower than #ZipPy. Also shown in this new #ROC chart is the comparison between #zlib at maximum compression setting vs. #LZMA at a low preset (2). zlib is faster (especially in the #browser with native #CompressionStream support), but not quite as performant. -
When transfering big amounts of data, #JSON can be a pita. Duplicating data into a string is kind of inefficient and stringifiers like `JSON.stringify` in the #browser have their limits too.
#MessagePack looks like a nice alternative. Beeing binary, it's faster and more efficient. Language support looks great. In #JavaScript / #TypeScript you can even have it produce a #ReadableStream to feed directly into fetch. Now pipe it into a #CompressionStream and you're flying!