Skip Menu |

This queue is for tickets about the Gtk2-Ex-PodViewer CPAN distribution.

Report information
The Basics
Id: 61842
Status: new
Priority: 0/
Queue: Gtk2-Ex-PodViewer

Owner: Nobody in particular
Requestors: user42 [...]

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

Subject: pod survey very slow
Date: Sat, 02 Oct 2010 10:48:54 +1000
To: bug-Gtk2-Ex-PodViewer [...]
From: Kevin Ryde <user42 [...]>
Download (untitled) / with headers
text/plain 586b
If you've got a few thousand module files in @INC the survey() done by Pod::Simple::Search is very slow (it opens and reads every one of them, or some such). I think PodViewer load_doc() should instead just use the individual find() of that searcher. Or perhaps of Pod::Find, I don't know which is better. Maybe the filenames for each pod visited by load_doc() could be cached, if it's suspected there might be some visiting back and forward among a set of related modules. But I wouldn't think that was necessary either as long as there isn't a huge number of directories in @INC.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to