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

11
LINES

< > BotCompany Repo | #1018178 // renderSizesOfCreatorCacheVars

JavaX fragment (include)

1  
sS renderSizesOfCreatorCacheVars() {
2  
  new L<S> out;
3  
  for (S var, int size : sizesOfCreatorCacheVars()) {
4  
    O cache = getCreator(var);
5  
    Int max = null;
6  
    if (cache cast Map) max = maxSizeOfMRUCache(cache);
7  
    out.add(size
8  
      + (max != null ? "/" + max : "") + ": " + var);
9  
  }
10  
  ret lines(out);
11  
}

Author comment

Began life as a copy of #1018175

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018178
Snippet name: renderSizesOfCreatorCacheVars
Eternal ID of this version: #1018178/1
Text MD5: 106d6f9502d8b3143f2e0bfa11d72f17
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-07 15:26:05
Source code size: 318 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 386 / 418
Referenced in: [show references]