[TxMt] Re: Re: Insert hard wraps

Robin Houston robin.houston at gmail.com
Mon Apr 16 20:45:35 UTC 2007


On 4/16/07, Steve King <steve at narbat.com> wrote:
>
> Allan, a question about that: When a command runs, does it spawn a new OS
> process or does it run in a thread within the TextMate process?  It seems
> that if you're running any command that starts with a shebang (#!) line
> you'd have to fork a new process to load the specified command
> interpreter.  If that's so, then it's *way* too much CPU and disk overhead
> to do every time you hit space!


I think you may be over-estimating the cost of forking. I just did a little
test, and my G4 Powerbook can spawn and reap 90,000 processes per second.
Your computer is probably faster than mine, and I wonder how many times you
press space every second. :-)

Robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070416/96bc3631/attachment.html>


More information about the textmate mailing list