replaced facttest.lua with fibtest.lua

Optimized the NaN box to be byte aligned, performance under the fibtest.lua script improved by ~2.5 seconds (~31 before ~28.5 after on cpunch's machine)
also cleaned up some misc. comments
This commit is contained in:
2020-12-07 23:26:55 -06:00
parent f8a062919f
commit 9aa7fa1381
5 changed files with 27 additions and 33 deletions

View File

@@ -360,7 +360,7 @@ static void alignStack(CParseState *pstate, int alignment) {
pstate->compiler->pushedValues = alignment;
}
// ================================================================ [PRATT'S PARSER] ================================================================
// ================================================================ [PARSER] ================================================================
static void number(CParseState *pstate, bool canAssign) {
cosmo_Number num = strtod(pstate->previous.start, NULL);