Skip Menu |

This queue is for tickets about the Parser-MGC CPAN distribution.

Report information
The Basics
Id: 74779
Status: new
Priority: 0/
Queue: Parser-MGC

People
Owner: Nobody in particular
Requestors: pauloscustodio [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: skip_ws performance improvement
(split out from https://rt.cpan.org/Ticket/Display.html?id=66786) Another note: the time spent in wkip_ws can be reduced to about half by computing a 'skip' pattern at the constructor that combines the 'ws' and 'comment' patterns, and replace the '1 while m//' by just a match on 'skip'. In a test script it reduced the time spent in the skip_ws method (exclusive time) from 4.57s to 2.59s, as reported by Devel::NYTProf. Best regards, Paulo Custodio