OSDN Git Service

bionic: store property names as variable-length strings
authorGreg Hackmann <ghackmann@google.com>
Fri, 21 Jun 2013 20:02:38 +0000 (13:02 -0700)
committerGreg Hackmann <ghackmann@google.com>
Mon, 24 Jun 2013 23:15:52 +0000 (16:15 -0700)
commit492ce95d9f6149137cb5b63c55cf2b3cdbe51e5e
tree6e33c3f893cfc822b14c465df89985bf79e41301
parentfb9b7b436f3ef94385f1b0c55ab81f246f0d96b8
bionic: store property names as variable-length strings

Names are immutable, so the fixed-sized arrays can be replaced with
variable-length ones to save memory (especially on internal tree nodes).

Change-Id: Iee77874b4b55b0f9c5e531d1334be7f7f40086d2
Signed-off-by: Greg Hackmann <ghackmann@google.com>
libc/bionic/system_properties.c