Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1024954 // defaultBufferedOutputStreamSize

JavaX fragment (include)

// 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: 253 / 321
Version history: 3 change(s)
Referenced in: [show references]