[Mesa-dev] [PATCH 7/8] util/ralloc: add ralloc_str_append() helper

2017-08-08 Thread Timothy Arceri
This function differs from ralloc_strcat() and ralloc_strncat() in that it does not do any strlen() calls which can become costly on large strings. --- src/util/ralloc.c | 19 +++ src/util/ralloc.h | 18 ++ 2 files changed, 37 insertions(+) diff --git a/src/util/r

[Mesa-dev] [PATCH 7/8] util/ralloc: add ralloc_str_append() helper

2017-08-06 Thread Timothy Arceri
This function differs from ralloc_strcat() and ralloc_strncat() in that it does not do any strlen() calls which can become costly on large strings. --- src/util/ralloc.c | 17 + src/util/ralloc.h | 18 ++ 2 files changed, 35 insertions(+) diff --git a/src/util/ral