Open linas opened 4 years ago
File loading performance could be increased by writing, at the start of the file
(define loc (PredicateNode "has_location"))
and then using that: (Evaluation loc (List ...))
(Evaluation loc (List ...))
Also doing this for each gene, pathway, protein would also speed things a little bit:
(define muniA0A075B6P5 (Molecule "Uniprot:A0A075B6P5")) (define rhsa166663 (Concept "R-HSA-166663"))
By using such defines, you save a tiny amount of time to drop into the C++ code and atomspace, to perform the lookup. Also, the files get slightly smaller.
Originally posted by @linas in https://github.com/MOZI-AI/annotation-scheme/issues/85#issuecomment-574937995
File loading performance could be increased by writing, at the start of the file
and then using that:
(Evaluation loc (List ...))
Also doing this for each gene, pathway, protein would also speed things a little bit:
By using such defines, you save a tiny amount of time to drop into the C++ code and atomspace, to perform the lookup. Also, the files get slightly smaller.
Originally posted by @linas in https://github.com/MOZI-AI/annotation-scheme/issues/85#issuecomment-574937995