summaryrefslogtreecommitdiff
path: root/src/text/glyph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/text/glyph.cpp')
-rw-r--r--src/text/glyph.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/text/glyph.cpp b/src/text/glyph.cpp
index 7dea7246d7..f02c710db2 100644
--- a/src/text/glyph.cpp
+++ b/src/text/glyph.cpp
@@ -3,9 +3,6 @@
namespace mbgl {
// Note: this only works for the BMP
-// Note: we could use a binary lookup table to get averaged constant time lookups, however,
-// most of our lookups are going to be within the first 3 ranges listed here, so this is
-// likely faster.
GlyphRange getGlyphRange(char32_t glyph) {
unsigned start = (glyph/256) * 256;
unsigned end = (start + 255);