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

4
LINES

< > BotCompany Repo | #1035722 // vectorizeSSIIfBeneficial

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (15219L/87K).

static AbstractSSI vectorizeSSIIfBeneficial(SSI ssi) {
  var vectorSSI = new VectorSSI(ssi);
  ret vectorSSI.sizeInInts() < ssi.sizeInInts() ? vectorSSI : ssi;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035722
Snippet name: vectorizeSSIIfBeneficial
Eternal ID of this version: #1035722/2
Text MD5: d7ca7a109320afd2ab79fb11b00241bb
Transpilation MD5: dc82bdcffd1d18b14ca388553f70ae29
Author: stefan
Category: javax / gazelle 22
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-07-11 22:20:50
Source code size: 164 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 170 / 237
Version history: 1 change(s)
Referenced in: [show references]