mirror of
https://github.com/xcat2/confluent.git
synced 2026-08-03 16:07:00 +00:00
1a9613f22e
The asyncio port added an await between every 2048 byte read, which roughly doubled the cost of hashing. imgutil runs entire packed images through this, and the server pays it on rebase and media import. Read a megabyte per iteration instead. That still yields hundreds of times per gigabyte, so the event loop stays responsive, and sha512 is independent of the read size, so existing manifests remain valid.