static void ai_gc_clear() {
int n = 0;
for ping (WebRelation rel : indexedRelations("has GC distance")) {
if (ai_isTripleWeb(rel.web)) {
ai_invalidateWeb(rel.web);
++n;
}
}
if (n != 0) print("Cleared " + n(n, "GC entry"));
}download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1011796 |
| Snippet name: | ai_gc_clear |
| Eternal ID of this version: | #1011796/6 |
| Text MD5: | 1666dca2aa34e78fa984cf7a423cbf14 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-11-05 07:03:59 |
| Source code size: | 261 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 904 / 910 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |