Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

row -> row | row newline rows vs rows -> row (newline row):* #610

Open
SevenOutman opened this issue Apr 3, 2022 · 0 comments
Open

row -> row | row newline rows vs rows -> row (newline row):* #610

SevenOutman opened this issue Apr 3, 2022 · 0 comments

Comments

@SevenOutman
Copy link

SevenOutman commented Apr 3, 2022

Hi, thanks for this tool! I was wondering if there's any difference (in performance or semantic) between these two ways of declaring repeating items (e.g. rows in csv)?

rows -> row
      | row newline rows

# vs

rows -> row (newline row):*

I was writing a grammar and got some performance issue. I used the second approach all the way, don't know if it slows things down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant