After a discussion about the ridiculousness that it took Java 30 years to provide a built-in means to copy from an InputStream to an OutputStream, I looked at the 1000s of helpers everybody wrote in the mean time and everybody seems to converge on an 8KB buffer.
Why?
Why 8KB? Why not 4KB (memory page size, disk sector size)? Why not 2MB?
Does anybody know?
=> More informations about this toot | View the thread | More toots from pilif@mastodon.social
text/gemini
This content has been proxied by September (3851b).