mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-26 04:52:51 -06:00
Now there is a just-in-time compiler which generates native code for proof search. This is already used by the exhaustive generator. The time to generate 10000 abstract trees with ParseEng went down from 4.43 sec to 0.29 sec.
This commit is contained in:
@@ -76,6 +76,7 @@ typedef struct {
|
||||
int arity;
|
||||
PgfEquations defns; // maybe null
|
||||
PgfExprProb ep;
|
||||
void* predicate;
|
||||
} PgfAbsFun;
|
||||
|
||||
extern GU_DECLARE_TYPE(PgfAbsFun, abstract);
|
||||
@@ -91,7 +92,8 @@ typedef struct {
|
||||
prob_t meta_token_prob;
|
||||
PgfMetaChildMap* meta_child_probs;
|
||||
|
||||
GuBuf* functions; // -->PgfFunDecl
|
||||
GuBuf* functions; // -->PgfAbsFun
|
||||
void* predicate;
|
||||
} PgfAbsCat;
|
||||
|
||||
extern GU_DECLARE_TYPE(PgfAbsCat, abstract);
|
||||
|
||||
Reference in New Issue
Block a user