The Hangul composition operation is just math and doesn't involve a data structure lookup. Yet, it's slow compared to ICU4C. I suspect it's because there's a loop jump between each composable character pair and because we don't have a dedicated Hangul-oriented fast loop over the input buffer.
The Hangul composition operation is just math and doesn't involve a data structure lookup. Yet, it's slow compared to ICU4C. I suspect it's because there's a loop jump between each composable character pair and because we don't have a dedicated Hangul-oriented fast loop over the input buffer.