Re: [PATCH 0/2] strbuf: improve API
- From
Remi Galan Alfonso <remi.galan-alfonso@ensimag.grenoble-inp.fr>
- Date
- May 30, 2016, 11:32 UTC
- 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 <william.duclot@ensimag.grenoble-inp.fr> writes:
Show 8 quoted lines
> 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