tech-userlevel archive

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

Re: colorls in base



On Fri, Feb 15, 2019 at 04:43:24AM +0100, Kamil Rytarowski wrote:
> I don't have stronger opinion on dynamic linking, but maybe dlopen(3)
> for libterminfo can be used as microptimization? Recently we were
> optimizing similarly sh(1).

That wasn't committed.
I'd be really unhappy if much of netbsd base started using dlopen. I had
a lot of trouble debugging programs that make use of it in the past.
ls isn't used nearly as heavily in scripts/makefiles so a startup
penalty is fine.

I don't think the startup penalty is a required fact of life of using
dynamic linking, and I've tried profiling things to get numbers on where
its spending time, but having some trouble with dtrace at the moment.


Home | Main Index | Thread Index | Old Index