From: Remi Galan Alfonso Date: Mon, 30 May 2016 11:32:08 GMT Subject: Re: [PATCH 0/2] strbuf: improve API Message-ID: <1069084553.156626.1464607928755.JavaMail.zimbra@ensimag.grenoble-inp.fr> In-Reply-To: <20160530103642.7213-1-william.duclot@ensimag.grenoble-inp.fr> William Duclot writes: > This patch series implements an improvment of the strbuf API, allowing > strbuf to use preallocated memory. This makes strbuf fit to be used > in performance-critical operations. > > The first patch is simply a preparatory work, adding tests for > existing strbuf implementation. > Most of the work is made in the second patch: handle pre-allocated > memory, extend the API, document it and test it. Seems interesting, however do you have any test/example that would show the difference of performance between using these optimizations and not using them? Such values would make a nice addition to help convince people that your series is interesting to have and use. Thanks, Rémi