Index | Thread | Search

From:
Frederic Cambus <fred@statdns.com>
Subject:
Re: [Diff] rasops32 6bit wide putchar
To:
jon@elytron.openbsd.amsterdam
Cc:
tech@openbsd.org
Date:
Thu, 18 Jul 2024 10:56:35 +0200

Download raw body.

Thread
  • Frederic Cambus:

    [Diff] rasops32 6bit wide putchar

On Tue, Dec 12, 2023 at 07:05:55PM +0100, Frederic Cambus wrote:
> On Wed, Nov 22, 2023 at 07:05:22PM +0000, jon@elytron.openbsd.amsterdam wrote:
> > Hello everyone. As a 6x12 font user, I was wondering if it'd be of
> > interest to the community to include an optimized version of the 
> > putchar routine for the 6bit wide case. I've been using it for a
> > few days now, any comments appreciated.
> 
> Did you do any speed measurements on your side?
> 
> I did some quick benchmarking by cat'ing a very large text file [1] over
> several rounds, and the mean speed improvement is slightly less than 2%
> on my T450.

I had totally forgotten about this, but I think this should go in.

Link to the original diff for convenience purposes:
https://marc.info/?l=openbsd-tech&m=170067999915273&w=2

Will commit in a few days unless I hear objections.