Add pool_tok_seq() to string_pool.c
commit487d79f40167a9599f2ddaedd5fdf285031b9e9e
authorDavid Barr <david.barr@cordelta.com>
Tue, 25 May 2010 10:31:50 +0000 (25 20:31 +1000)
committerDavid Barr <david.barr@cordelta.com>
Tue, 25 May 2010 10:32:14 +0000 (25 20:32 +1000)
tree12a6039d3f71758e17ffd2bf0e8d742ac810b9e9
parentab7928688e13143b05526883f6629c4b0f8944b8
Add pool_tok_seq() to string_pool.c

To reduce the amount of allocations that need to occur,
provide a method to tokenise paths when first encountered.
The token lists can be used in place of strings.
There are wide-reaching API implications for this change.

Signed-off-by: David Barr <david.barr@cordelta.com>
string_pool.c
string_pool.h