1 | sS joinOrKeep(LS tok, S olderString, LS olderTok) { |
2 | ret tok == olderTok ? olderString : join(tok); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023527 |
Snippet name: | joinOrKeep - same as join(), but optimized to keep some earlier join result if possible |
Eternal ID of this version: | #1023527/1 |
Text MD5: | 42927786fd783df684d24df357e7f54d |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-27 13:08:13 |
Source code size: | 104 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 251 / 285 |
Referenced in: | [show references] |