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

7
LINES

< > BotCompany Repo | #1024318 // indexSingletonConcept - so list(C)/uniq(C) get really fast

JavaX fragment (include)

svoid indexSingletonConcept(Concepts cc, Class<? extends Concept> c) {
  indexConceptField(cc, c, '_dummy);
}

svoid nuLike indexSingletonConcept(Class<? extends Concept> c) {
  indexSingletonConcept(db_mainConcepts(), c);
}

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: #1024318
Snippet name: indexSingletonConcept - so list(C)/uniq(C) get really fast
Eternal ID of this version: #1024318/5
Text MD5: 1e679d5a82e60b5e73640c55ed876d5a
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-29 00:22:42
Source code size: 230 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 204 / 253
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1030271 - indexSingletonConceptIfUnindexed
#1030598 - indexRandomConceptField - actually uses alphabetically first field