You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`getPosition` Heavily decreased the performance due to using the `gsub` function.
This change decreased the parsing time of a 27kb file from 4.35 seconds to just 0.1 seconds.
`getPosition` also behaved incorrectly as is returned the wrong line position.
localcharacter=string.sub(self.source, index, index) -- NOTE_1: this could use table.clone to reduce amount of NEWTABLE (if that causes any performance issues)
0 commit comments