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
We currently use getSourcePos to obtain current source location during parsing and annotate AST with it, but as the documentation says, getSourcePos is slow to use frequently. Using getOffset to annotate with offsets first and convert them to SourcePos later with attachSourcePosSource would be faster.
The text was updated successfully, but these errors were encountered:
We currently use
getSourcePos
to obtain current source location during parsing and annotate AST with it, but as the documentation says,getSourcePos
is slow to use frequently. UsinggetOffset
to annotate with offsets first and convert them toSourcePos
later withattachSourcePosSource
would be faster.The text was updated successfully, but these errors were encountered: