From: Daniel King Date: Thu, 13 Feb 2014 20:16:17 +0000 (+0000) Subject: Preallocate memory before samples are received. X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=27d7c96b57d967edd8bcde9bb5570d573a0ef474;hp=27d7c96b57d967edd8bcde9bb5570d573a0ef474;p=pulseview.git Preallocate memory before samples are received. Preallocating memory for samples when a capture is started improves performance during the capture, as realloc() is called only once. ---