all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* glyphless
@ 2012-03-25 17:55 Eli Zaretskii
  2012-03-25 19:19 ` glyphless Andreas Schwab
  2012-03-26 13:17 ` glyphless Jason Rumney
  0 siblings, 2 replies; 3+ messages in thread
From: Eli Zaretskii @ 2012-03-25 17:55 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel


    /* Sub-stretch for type == GLYPHLESS_GLYPH.  */
    struct
    {
      /* Value is an enum of the type glyphless_display_method.  */
      unsigned method : 2;
      /* 1 iff this glyph is for a character of no font. */
      unsigned for_no_font : 1;
      /* Length of acronym or hexadecimal code string (at most 8).  */
      unsigned len : 4;
      /* Character to display.  Actually we need only 22 bits.  */
      unsigned ch : 22; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    } glyphless;

I though Andreas said that using 25 here, so that the entire member
fits in 32 bits, would be better (performance-wise, I presume)?



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-26 13:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-25 17:55 glyphless Eli Zaretskii
2012-03-25 19:19 ` glyphless Andreas Schwab
2012-03-26 13:17 ` glyphless Jason Rumney

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.