[EMAIL PROTECTED] wrote:
In a nutshell, arenas allow us to build tree linked data structures, allocating new memory as we need it, then free the whole thing with a single free.Hello,
I've just started using NSS. Could someone please explain to me the
purpose/reason behind using arenas for memory allocation rather than
straight heap allocation using PR_MALLOC and PR_FREE?
Something like arena's is pretty much required to parse a lot of ASN.1, but it turns out to be useful in other cases as well.
bob
smime.p7s
Description: S/MIME Cryptographic Signature
