Toot

Written by Philip Hofstetter on 2024-10-17 at 13:56

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

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113323106474532427
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
226.960455 milliseconds
Gemini-to-HTML Time
0.435398 milliseconds

This content has been proxied by September (3851b).