Style tag loading is very slow for a large number of style tags
Steps to reproduce:
- open Inkscape
- open sample file seq_test.svg which contains a lot of style tags
What happened?
- Inkscape hangs.
What should have happened?
The file is opened.
Timing inkview on that file, I get with a stopwatch:
| style tags | average time (3 attempts, rounded to full integer) |
|---|---|
| 1 | 5s |
| ... | 5s |
| 19 | 5s |
| 20 | 6s |
| 21 | 12s |
| 22 | 30s |
| 23 | 50s |
| 25 | aborted after 2 min |
Inkscape Version and Operating System:
- Inkscape Version: 1.1-dev (6b4d57f, 2020-04-01)
- Operating System: Windows 10
- Operating System version: 10.0.18362