[Lxr-dev] [ lxr-Bugs-568493 ] low performance in Files::tmpfile
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2009-03-26 17:30:00
|
Bugs item #568493, was opened at 2002-06-13 13:26 Message generated for change (Comment added) made by mbox You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=568493&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: v0.9.1 >Status: Closed >Resolution: Duplicate Priority: 5 Private: No Submitted By: Gregor Hartmann (grex) Assigned to: Malcolm Box (mbox) Summary: low performance in Files::tmpfile Initial Comment: When using Plain.pm the file is copied entirely to the tmp dir. Would a Symbolic link be enough here at least for UNX? Maybe the Files module could be changed to supply two methods AcquireTempFile( ... ) ReleaseTempFile( ... ) AcquireTempFile could then in the case of Plain files just return the original filename while ReleaseTempFile does nothing. Ths is to avoid unlinking the files if they are no real tempfiles but the original. I could do this but first wanted to hear if there is any problem. ---------------------------------------------------------------------- >Comment By: Malcolm Box (mbox) Date: 2009-03-26 17:29 Message: Same problem as 2714744. ---------------------------------------------------------------------- Comment By: Malcolm Box (mbox) Date: 2004-04-21 23:57 Message: Logged In: YES user_id=215386 I don't see a problem with this, there is a clear point at which to clean up (where the file is currently deleted). This would probably improve performance for the Plain method. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=568493&group_id=27350 |