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

Added modifiers row up down #44

Merged
merged 11 commits into from
Aug 5, 2021
Merged

Added modifiers row up down #44

merged 11 commits into from
Aug 5, 2021

Conversation

AndreasArvidsson
Copy link
Member

@AndreasArvidsson AndreasArvidsson commented Jul 29, 2021

take row 5
chuck up 2
clear down 4

I have after testing determined that this modifier has huge impact on compile performance. The culprit is the capture <number> combining two of those with the primitive target just blows up the compilation time to over two seconds. I made a simplified version which only uses one <number_small> but that alone adds over 300ms. I'm afraid that we are pushing the capabilities of talon's grammar in terms of performance.

Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few comments. So if I'm understanding this one, "row" is not yet supported due to compilation time issues but the code is here for when we fix that up?

src/marks/lines_number.py Show resolved Hide resolved
src/marks/lines_number.py Outdated Show resolved Hide resolved
src/marks/lines_number.py Show resolved Hide resolved
src/marks/mark.py Outdated Show resolved Hide resolved
src/primitive_target.py Outdated Show resolved Hide resolved
@pokey pokey merged commit 00deee5 into develop Aug 5, 2021
@pokey pokey deleted the lineNumbers branch August 5, 2021 18:35
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

Successfully merging this pull request may close these issues.

2 participants