Uses 911K of libraries. Click here for Pure Java version (3155L/16K).
!7 concept Bla { int i; *(int *i) {} } cprint { start-thread { testIt(); indexConceptFieldsOrdered(Bla, 'i); print("No more table scans should appear from here on"); testIt(); } void testIt { L<Int> l = ll(1, 3, 5, 10); for (int i : l) new Bla(i); set conceptsWithFieldGreaterThan_verbose; for idx over l: assertEqualsVerbose(subList(l, idx+1), collectSorted i(conceptsWithFieldGreaterThan Bla('i, l.get(idx)))); } }
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: | #1028355 |
| Snippet name: | Test conceptsWithFieldGreaterThan (OK) |
| Eternal ID of this version: | #1028355/10 |
| Text MD5: | 0ddc4b76726ea347f9970ef44e32afaa |
| Transpilation MD5: | 42b7b614e471da4568b40875427be2c2 |
| Author: | stefan |
| Category: | javax / concepts |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-06-13 12:32:08 |
| Source code size: | 498 bytes / 24 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 446 / 656 |
| Version history: | 9 change(s) |
| Referenced in: | [show references] |