[dev] Re: less lines of code suck less

From: Greg Reagle <list_AT_speedpost.net>
Date: Mon, 03 May 2021 16:34:43 -0400

I'm sorry I forgot to include this in my initial message. I found no difference in performance time or memory usage (with a small file), so that does not seem to be an advantage.

And I am serious about this--I really want to know. Is there any good reason to have a separate C program?

On Mon, May 3, 2021, at 16:28, Greg Reagle wrote:
> Would sbase suck less if the program head, which is currently a C
> program of 77 lines, were replaced with something like
> #!/bin/sh
> sed "$1"q
>
> I know that it would need to be a bit more elaborate than that to
> handle the -n flag, but still. Is there any advantage to having a
> separate C program?
>
Received on Mon May 03 2021 - 22:34:43 CEST

This archive was generated by hypermail 2.3.0 : Mon May 03 2021 - 22:36:09 CEST