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

15
LINES

< > BotCompany Repo | #1035721 // VectorOptimizedSSIList - list of vector SSIs mixed with normal SSIs, depending on which is smaller in each case

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

Transpiled version (14846L) is out of date.

persistable sclass VectorOptimizedSSIList extends AbstractSSIList<AbstractSSI> {
  *() { init(); }
  *(Cl<? extends AbstractSSI> l) { super(l); }
  
  static VectorOptimizedSSIList alreadyOptimized(L<AbstractSSI> l) {
    new VectorOptimizedSSIList list;
    list.addAll(l);
    ret list;
  }
  
  @Override
  AbstractSSI importSSI(AbstractSSI ssi) {
    ret vectorizeSSIIfBeneficial(ssi.toSSI());
  }
}

Author comment

Began life as a copy of #1035714

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035721
Snippet name: VectorOptimizedSSIList - list of vector SSIs mixed with normal SSIs, depending on which is smaller in each case
Eternal ID of this version: #1035721/14
Text MD5: b64efdf58f9d77073b86cee27bcd24a7
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-07-25 15:19:56
Source code size: 417 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 168 / 263
Version history: 13 change(s)
Referenced in: [show references]