Dekel Tsur <[EMAIL PROTECTED]> writes:

| > Oh, we had that earlier, the code was close to impossible to maintain,
| > won't happen. and I'd hate to loose the type information. btw. clever
| > compilers are free to use a byte for most of those enums.
| 
| IIRC, we had something else: all the data was packed into a single unsigned
| int, and that was indeed horrible.

(I know)

| With my suggestion it is not harder to maintain than the current code.
| And you don't loose the type information because the interface method
| (family(), series() etc.) do return the correct type.

You loose type information inside the LyXFont class.

besides, I think I can speed it up quite a lot by changing when clean
is done, and using a bit more clever container. Let's do that first.

        Lgb


Reply via email to