unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Optimize glyph row clearing and copying routines
@ 2013-09-24  6:35 Eli Zaretskii
  2013-09-24 10:10 ` Dmitry Antipov
  2013-09-24 13:40 ` John Yates
  0 siblings, 2 replies; 10+ messages in thread
From: Eli Zaretskii @ 2013-09-24  6:35 UTC (permalink / raw)
  To: Dmitry Antipov; +Cc: emacs-devel

Does this change really speed up the code?  AFAIU, previously the
struct assignment could use word-size copies (because a struct is
always aligned), but now you cast the arguments to 'char *' and use
memcpy, which could fall back on copying single bytes or shorter
words.

Did you measure the impact?  Was it significant enough to justify this
change?



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

end of thread, other threads:[~2013-09-26 12:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-24  6:35 Optimize glyph row clearing and copying routines Eli Zaretskii
2013-09-24 10:10 ` Dmitry Antipov
2013-09-24 11:50   ` Eli Zaretskii
2013-09-24 12:42     ` Dmitry Antipov
2013-09-24 13:40 ` John Yates
2013-09-24 17:04   ` Eli Zaretskii
2013-09-24 17:28     ` John Yates
2013-09-24 18:03     ` Paul Eggert
2013-09-24 18:32       ` Eli Zaretskii
2013-09-26 12:35         ` Juanma Barranquero

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).