<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I'd like to use Ragel to scan some abc notation files, but have run into a problem where Ragel's compilation time expands by a couple of orders of magnitude when I add actions to certain transitions.  Below is a simplified test case that demonstrates the problem.</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>%%{</div></div><div><div>  machine test;</div></div><div><div><br></div></div><div><div>  action action_x {}</div></div><div><div>  </div></div><div><div>  b = ('a' [a-c]+ 'a') | ([a-c] >action_x 'b');</div></div><div><div><br></div></div><div><div>  main := ('c' b+)+;</div></div><div><div><br></div></div><div><div>}%%</div></div></blockquote><div><br></div><div>The addition of the '>action_x' in machine b triggers the slowdown.  Any suggestions on how to workaround this problem?</div><div><br></div><div>Thanks,</div><div>Ed</div><div><br></div></body></html>