[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] harfbuzz e1424cb 2/2: Replace another FIXME with a TODO an
From: |
Khaled Hosny |
Subject: |
[Emacs-diffs] harfbuzz e1424cb 2/2: Replace another FIXME with a TODO and expanded comment |
Date: |
Sat, 22 Dec 2018 10:31:45 -0500 (EST) |
branch: harfbuzz
commit e1424cb4d89a709c986411ffd29774375bd76800
Author: Khaled Hosny <address@hidden>
Commit: Khaled Hosny <address@hidden>
Replace another FIXME with a TODO and expanded comment
---
src/ftfont.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/ftfont.c b/src/ftfont.c
index 00e8237..2faaf0b 100644
--- a/src/ftfont.c
+++ b/src/ftfont.c
@@ -2805,7 +2805,8 @@ ftfont_shape_by_hb (Lisp_Object lgstring, FT_Face
ft_face, hb_font_t *hb_font,
hb_glyph_info_t *info;
hb_glyph_position_t *pos;
- /* FIXME: cache the buffer */
+ /* TODO: cache the buffer for slightly better performance and less
+ * allocations. */
hb_buffer_t *hb_buffer = hb_buffer_create ();
hb_buffer_pre_allocate (hb_buffer, text_len);