From: Uwe Hermann Date: Thu, 16 Mar 2017 22:59:58 +0000 (+0100) Subject: session_driver.c: Increase chunk size for slightly better performance. X-Git-Tag: libsigrok-0.5.0~84 X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=df3e608a20620836ecad6d8d4dc6c0b27b1658a8;hp=df3e608a20620836ecad6d8d4dc6c0b27b1658a8;p=libsigrok.git session_driver.c: Increase chunk size for slightly better performance. Increasing the chunk size from 512ksamples to 4Msamples leads to slightly faster session file loading from sigrok session (*.sr) files in frontends, while not looking too "chunky". The performance increase is not really massive, but still noticeable. A further increase to, say, 10 or 100Msamples shows no further noticeable improvements. ---