Open msimmon6 opened 2 years ago
This is a known problem, but thanks for posting it here. This is a jsjavaparser problem. I've tried to mitigate this issue in the past -- with partial success -- by manually introducing extra rules in the parser. It may be that the problem has no immediate solution, as the slow-down might be inherent to the PEG.js
framework that the parser is built with, i.e. can't fix it short of actually fixing it in PEG.js
. I don't think it's worth our time to worry about this, especially at this moment when the future of the Submit Server is being decided.
Describe the bug The plug-in takes several minutes to load on a certain project. The only thing that I see in this particular example is the extreme length of certain lines with conditionals.
Where did the bug occur
Semester: Fall 2022 Instructor & Course: Pedram CMSC132 Project name on Submit Server: Proj 1 Student directory id: msivakum
Code segment (if known & relevant): This is what I think is the issue:
Additional info
I'm not too sure if this is something which needs to be fixed, but it sounds like something to note.