-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Trying to parse this XML:
<td >Mexico</td><td style="max-width: 768px; white-space: normal;">123456789012345678901234567</td><td></td><td> <span class="mx" data-price="N/A"></span></td><td> </td><td> </td><td> </td>
takes up to 6 seconds. Pretty slow.
Well, if you add 5 more numbers to the second <td>
's content:
<td >Mexico</td><td style="max-width: 768px; white-space: normal;">12345678901234567890123456789012</td><td></td><td> <span class="mx" data-price="N/A"></span></td><td> </td><td> </td><td> </td>
the execution time is now 180 seconds.
It seems like each symbol added doubles the execution time. The fuck.
boldwade
Metadata
Metadata
Assignees
Labels
No labels