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

12
LINES

< > BotCompany Repo | #1027491 // substringsScoreICPosNeg

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

Transpiled version (2370L) is out of date.

sbool substringsScoreICPosNeg_optimize;

static int substringsScoreICPosNeg(S s, Cl<S> pos, Cl<S> neg) {
  if (substringsScoreICPosNeg_optimize)
    ret substringsScoreIC_optimized1(s, asCISet(pos))-substringsScoreIC_optimized1(s, asCISet(neg));
  else
    ret substringsScoreIC(s, pos)-substringsScoreIC(s, neg);
}

static int substringsScoreICPosNeg(S s, Pair<? extends Cl<S>> posNeg) {
  ret substringsScoreICPosNeg(s, posNeg.a, posNeg.b);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027491
Snippet name: substringsScoreICPosNeg
Eternal ID of this version: #1027491/8
Text MD5: 152dd3990df07583618f148b2d62bd7a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-22 17:19:51
Source code size: 455 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 113 / 200
Version history: 7 change(s)
Referenced in: [show references]