bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#59347: 29.0.50; `:family` face setting ignored


From: Stefan Monnier
Subject: bug#59347: 29.0.50; `:family` face setting ignored
Date: Mon, 12 Dec 2022 10:30:10 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

> And what was the problem with a list?  How many cycles is traversing a
> list?  How many time will it take for your CPU to perform everything?
> Premature optimization is the root of all evil.

It was not premature optimization.
It was the simpler way to write the code.

Your patch made the C code more complex (not just slower) for the
benefit of a cleaner ELisp-level interface.  A better way to get that
same result would be to write an ELisp function on top of Gregory's
bitmask variable.
This way, you'd get a clean&simple&efficient C code still with
a convenient ELisp API.

Any chance someone could do that so we can move on?


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]