mirror of
https://github.com/CPunch/Cosmo.git
synced 2025-12-19 01:30:59 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user