diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2020-05-31 20:56:05 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2020-05-31 20:56:05 +0000 |
commit | a6c43c64d9419dfa888b1c478e658e3e20a4af11 (patch) | |
tree | c44233797692f5a1878dfd1d614e5674a3c0e0a6 /include/apr_escape.h | |
parent | f7eb533f85d0941dbf6edb3081f065e4c010b8cc (diff) |
Notes
Diffstat (limited to 'include/apr_escape.h')
-rw-r--r-- | include/apr_escape.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/apr_escape.h b/include/apr_escape.h index 428a8cb6bd88..ed048c956d25 100644 --- a/include/apr_escape.h +++ b/include/apr_escape.h @@ -33,6 +33,19 @@ extern "C" { /* Simple escape/unescape functions. * + * The design goal of these functions are: + * + * - Avoid unnecessary work. + * + * In most cases the strings passed in do not need to be escaped at all. In + * these cases the original string will be returned. + * + * - Lowest possible memory footprint. + * + * The amount of memory allocated for a given encoding is calculated based + * on the exact amount of memory needed, and not the theoretical worst case + * scenario. + * */ /** |