xparse icon indicating copy to clipboard operation
xparse copied to clipboard

Emit fsm code in chunks as opposed single func.

Open thanm opened this issue 9 years ago • 0 comments

Changes genfsm.go to divide the state space into chunks of size 256, then call a helper for function for each chunk (as opposed to having a single giant function that does everything). This reduces the compile time for go1.7 down to something reasonable (15-30 seconds depending on machine speed). See related issues

https://github.com/zhenjl/xparse/issues/1 https://github.com/golang/go/issues/16407

thanm avatar Jul 20 '16 14:07 thanm