-
Notifications
You must be signed in to change notification settings - Fork 407
OperatorsExpr parsing blows up on large file #5670
Copy link
Copy link
Closed
Labels
operatorsParsing of mixfix operatorsParsing of mixfix operatorsperformanceSlow type checking, interaction, compilation or execution of Agda programsSlow type checking, interaction, compilation or execution of Agda programsscopeIssues relating to scope checkingIssues relating to scope checkingtype: bugIssues and pull requests about actual bugsIssues and pull requests about actual bugs
Milestone
Description
On Agda 2.6.2, Parsing.OperatorsExp as reported by -vprofile:7 takes 14 seconds on this 10k line file.
The file just repeats the same ~130 lines containing a Church-encoded simply-typed LC, but all top-level symbols are uniquely renamed each time. The 5k line version of the same thing parses in 0,5 seconds, so there's probably something funny going on.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
operatorsParsing of mixfix operatorsParsing of mixfix operatorsperformanceSlow type checking, interaction, compilation or execution of Agda programsSlow type checking, interaction, compilation or execution of Agda programsscopeIssues relating to scope checkingIssues relating to scope checkingtype: bugIssues and pull requests about actual bugsIssues and pull requests about actual bugs