From: David Barr Date: Mon, 9 Aug 2010 22:34:42 +0000 (-0500) Subject: Add string-specific memory pool X-Git-Tag: v1.7.3-rc0~31^2~13 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/1d73b52f5ba4184de6acf474f14668001304a10c?ds=sidebyside;hp=1d73b52f5ba4184de6acf474f14668001304a10c Add string-specific memory pool Intern strings so they can be compared by address and stored without wasting space. This library uses the macros in the obj_pool.h and trp.h to create a memory pool for strings and expose an API for handling them. [rr: added API docs] [jn: with some API simplifications, new documentation and tests] Signed-off-by: David Barr Signed-off-by: Ramkumar Ramachandra Signed-off-by: Jonathan Nieder Signed-off-by: Junio C Hamano ---