summaryrefslogtreecommitdiffstats
path: root/fs/unicode/mkutf8data.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-09-15 09:00:04 +0200
committerGabriel Krisman Bertazi <krisman@collabora.com>2021-10-11 17:02:02 -0300
commit6ca99ce756c27852d1ea1e555045de1c920f30ed (patch)
tree3cedb519da25bfe7e8c3cce48f03c47599ce953e /fs/unicode/mkutf8data.c
parentfbc59d65059ecfea8b746715e920c325cc16cede (diff)
downloadlinux-6ca99ce756c27852d1ea1e555045de1c920f30ed.tar.gz
linux-6ca99ce756c27852d1ea1e555045de1c920f30ed.tar.bz2
linux-6ca99ce756c27852d1ea1e555045de1c920f30ed.zip
unicode: cache the normalization tables in struct unicode_map
Instead of repeatedly looking up the version add pointers to the NFD and NFD+CF tables to struct unicode_map, and pass a unicode_map plus index to the functions using the normalization tables. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Diffstat (limited to 'fs/unicode/mkutf8data.c')
0 files changed, 0 insertions, 0 deletions