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

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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 [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
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.