Libraryless. Click here for Pure Java version (8393L/48K).
srecord noeq JavaXPeepholeShortener(LS tok) { run { jreplace(tok, "<quoted>, <id>", "+$3", (_tok, nIdx) -> eq(unquote(_get(tok, nIdx+1)), _get(tok, nIdx+5))); } }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035184 |
| Snippet name: | JavaXPeepholeShortener |
| Eternal ID of this version: | #1035184/3 |
| Text MD5: | a1dbd31afae6f13b4f333528dfb22dfe |
| Transpilation MD5: | 233b49aca03867e5ba295844824d14cc |
| Author: | stefan |
| Category: | javax / transpiling |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-04-05 22:33:48 |
| Source code size: | 181 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 578 / 715 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |