Hi,

Actually what I meant by a String pool is a collection of
axutil_string objects (not char strings) created prior to Axis2/C
begins serving requests (at the startup). This applies regardless of
the memory management system that we are using. The main idea is to
allocate sufficient number of axutil_strings at the beginning i.e.
1024 in the pool. When a routine wants to use an axutil_string it can
get an already allocated one from the pool rather than creating a
axutil_string (allocating a axutil_string) at that moment. When an
axutil_string is no longer required, instead of freeing the
axutil_string it should be released to the pool. The advantage is that
all the axutil_strings are allocated contiguously in the memory. So
this will lead to high performance string handling.

Regards,
Supun.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to