Refactored all of the desugaring code to no longer depend on memory being initialized to 0. Everything is about 12% faster now.
This commit is contained in:
parent
d71215d494
commit
ec404ca8fe
36 changed files with 411 additions and 417 deletions
|
|
@ -25,6 +25,9 @@ HParser* h_epsilon_p() {
|
|||
}
|
||||
HParser* h_epsilon_p__m(HAllocator* mm__) {
|
||||
HParser *epsilon_p = h_new(HParser, 1);
|
||||
epsilon_p->desugared = NULL;
|
||||
epsilon_p->backend_data = NULL;
|
||||
epsilon_p->backend = 0;
|
||||
epsilon_p->vtable = &epsilon_vt;
|
||||
return epsilon_p;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue