Re: svn commit: r1639352 - /subversion/trunk/subversion/libsvn_fs_fs/stats.c
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 13 Nov 2014 16:41:33 +0000
Evgeny Kotkov wrote:
That "example" is spectacularly stupid -- the overhead would be insignificant.
Perhaps a better example is that of a caller calling the function many times in a tight loop, clearing the scratch pool on each iteration. Then the creation of an internal subpool is unnecessary and could be a significant overhead. Should we use that example instead in the community guide?
No comment on whether a sub-pool is useful in the particular cases you've noticed.
- Julian
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.