Re: [PATCH] unicode: make array 'token' static const, makes object smaller

2019-09-09 Thread Gabriel Krisman Bertazi
Colin King writes: > From: Colin Ian King > > Don't populate the array 'token' on the stack but instead make it > static const. Makes the object code smaller by 234 bytes. > > Before: >text data bss dec hex filename >5371 272 05643160b fs/unic

Re: [PATCH] unicode: make array 'token' static const, makes object smaller

2019-09-06 Thread Theodore Y. Ts'o
On Fri, Sep 06, 2019 at 02:58:07PM +0100, Colin King wrote: > From: Colin Ian King > > Don't populate the array 'token' on the stack but instead make it > static const. Makes the object code smaller by 234 bytes. > > Before: >text data bss dec hex filename >5371

[PATCH] unicode: make array 'token' static const, makes object smaller

2019-09-06 Thread Colin King
From: Colin Ian King Don't populate the array 'token' on the stack but instead make it static const. Makes the object code smaller by 234 bytes. Before: textdata bss dec hex filename 5371 272 05643160b fs/unicode/utf8-core.o After: textdata bss