-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
Description
- Take any sufficiently big PHP file (slightly exaggerated example file).
- Open it in php-mode.
- Copy any line or block of code (even an empty line).
- Paste it. It's going to be noticeably slow.
If running on a supercomputer, spam that paste chord a bit (the pastes will queue, it will take a while).
Undoing the operations will be similarly slow.
The slowness is increased the bigger the file.
It seems like the culprit is
Line 954 in c53e0c1
| "Extend the propertize region if START or END falls inside a PHP heredoc." |
Notice there are no heredocs at all in the file.
