lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 6 Apr 2019 15:53:42 -0400
From:   "Theodore Ts'o" <>
To:     Gabriel Krisman Bertazi <>
        Olaf Weber <>,
        Gabriel Krisman Bertazi <>
Subject: Re: [PATCH RFC v6 04/11] unicode: reduce the size of utf8data[]

On Mon, Mar 18, 2019 at 04:27:38PM -0400, Gabriel Krisman Bertazi wrote:
> From: Olaf Weber <>
> Remove the Hangul decompositions from the utf8data trie, and do
> algorithmic decomposition to calculate them on the fly. To store
> the decomposition the caller of utf8lookup()/utf8nlookup() must
> provide a 12-byte buffer, which is used to synthesize a leaf with
> the decomposition. Trie size is reduced from 245kB to 90kB.

I'm seeing sizes much smaller; the actual utf8data[] array is 63,584.
And size utf8-norm.o reports:

   text	   data	    bss	    dec	    hex	filename
  68752	     96	      0	  68848	  10cf0	fs/unicode/utf8-norm.o

Were you measuring the size of the utf8-norm.o file?  That will vary
in size depending on whether debugging symbols are enabled, etc.

   		     	     	       	       - Ted

Powered by blists - more mailing lists