On 8/31/2014 1:36 PM, Rugxulo wrote:
> Hi,
>
> On Sat, Aug 30, 2014 at 10:10 PM, Michael Brutman <mbbrut...@brutman.com> 
> wrote:
>> It pains me to see this much effort going into what should be a small
>> utility that takes the relevant mTCP obtained network parameters and
>> writes them into the WATTCP file.  There are 15 invocations of the
>> mt.exe program in that script.
> I agree it could maybe be more optimal, but as long as it works, it's
> no deal breaker. Just calling it 15 times isn't really a direct
> problem, nor necessarily slow either.

Sure.  My 4.77Mhz floppy based systems are going to do well with this.

Let's not speculate.  There are lots of different use cases out there.  
Loading and executing a program 15 times to do some simple string 
manipulation is slow and painful on a low end system.  You would do 
faster to type it in by hand using edlin.  Even on a fast system it is 
still much slower than it should be.

Cordata's program seems reasonable.  I would get rid of the multiple 
printfs at the end and just use a large block quote.  Somebody who uses 
WATTCP might want to step up, test it, and see if there are any bugs.


Mike



------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to