// This seems like a sweet spot. Small values like 1024 slow things down // noticeably, big values like 1 MB do too (probably due to GC). static int defaultBufferedOutputStreamSize() { ret 65536; }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024954 |
Snippet name: | defaultBufferedOutputStreamSize |
Eternal ID of this version: | #1024954/4 |
Text MD5: | b01508211e80f1f5b8396aeef0177bdf |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-11-08 14:46:54 |
Source code size: | 203 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 254 / 322 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |