Hi, On Tue, Apr 2, 2019 at 4:51 AM Tom Ehlert <t...@drivesnapshot.de> wrote: > > > I thought you might find this interesting > not at all ; see below.
Really? You don't find it a bit curious? > btw: MSC was the reference compiler for freedos, some time ago. Are you sure you don't mean Borland C? Anyways, if you have MSC installed, I would appreciate a build of Cheap Sed. It's quite easy to rebuild. (Then again, Gmail hates binary .EXE attachments, even inside .ZIP.) > please do a reality check before your next post What compiler would you recommend for that? > > Just for the record, "sed" is probably my favorite *nix util. So I've > > used it quite a lot over the years (mostly in DOS!). > > next time, please add a TLDR section of your post like > > TLDR: if you use fread(), fgets() and friends AND care about > performance, use setvbuf() with sensible parameters No, I'm talking about default compiles being unbuffered, *unlike* the ("newer") Turbo C++ 1.01, which works fine. (So all these years it was slower than it should've been.) Since TC2.01 is freeware (and TC++1.01 less so nowadays), I think this is worth clarifying, even in spite of your feigned ignorance. (Actually, "maybe" you can still get TC++ freeware if you download some modern Windows trialware, but I never bothered. Anyways, the old .ZIP is mirrored on Wayback Machine, for good or bad.) BTW, today I wrote a much-simplified sed script for FASM for PSR Invaders. Want a copy? Probably not much use to benchmark, though. _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel