From: SourceForge.net <no...@so...> - 2009-03-26 15:43:23
|
Bugs item #2714744, was opened at 2009-03-26 15:43 Message generated for change (Tracker Item Submitted) made by mbox You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=2714744&group_id=27350 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: genxref Group: current cvs Status: Open Resolution: None Priority: 3 Private: No Submitted By: Malcolm Box (mbox) Assigned to: Malcolm Box (mbox) Summary: Tagger & Plain.pm inefficient Initial Comment: Tagger.pm uses Files::tmpfile to get a file for indexing. In the plain file case, this is created by copying the existing file into a temporary file. After indexing the temporary file is then deleted. Should fix the interface from Tagger.pm to Files.pm to simply get a read-only reference to the file, and close it when no longer needed. Leave it up to Files.pm to worry about where/how it's on the disk. Alternatively on Unix systems Plain.pm could just create a hardlink and give that back to Tagger.pm, but this isn't portable. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=2714744&group_id=27350 |