octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing 'help' functions as m-files


From: John W. Eaton
Subject: Re: Writing 'help' functions as m-files
Date: Thu, 12 Feb 2009 03:15:19 -0500

On 12-Feb-2009, Søren Hauberg wrote:

| With a recent checkout I see that the bottom of 'makeinfo.m' says
| 
|     unwind_protect_cleanup
|   #    if (exist (name, "file"))
|   #      delete (name);
|   #    endif
|     end_unwind_protect
| 
| Why has the deletion of the temporary file 'name' been removed? The
| result is that temporary files are written to the current directory, but
| never removed.

Oops, I must have committed that accidentally.  I commented it out
when I was doing some debugging and trying to understand why the
generation of the formatted DOC strings for the cache file was taking
so long.  BTW, on my system, running the makeinfo function on each
docstring individually was taking about two minutes.  With the current
script that only runs makeinfo once and then splits apart the result,
It is only taking about 6 or 7 seconds.

jwe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]