xparse
xparse copied to clipboard
Emit fsm code in chunks as opposed single func.
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