StanzaOrg / lbstanza-old

L.B. Stanza Programming Language
Other
216 stars 23 forks source link

Jb/faster dos #59

Closed jackbackrack closed 4 years ago

jackbackrack commented 4 years ago

add tuple do method and use only a single index variable instead of two.

jackbackrack commented 4 years ago

i have extensive timings to report that this change alone speeds up the compiler by 15%. i also verified that the loop is inlined and that n is not closed over anymore. the compiler compile time goes from 98s to 85s.

jackbackrack commented 4 years ago

Also i did a full bootstrap of the compiler compiling itself four times in succession.

CuppoJava commented 4 years ago

Awesome. Thanks!