diff options
author | Mykola Nikishov | 2018-03-08 12:03:38 +0000 |
---|---|---|
committer | Mykola Nikishov | 2018-03-12 11:27:44 +0000 |
commit | 1c099de68d1bb68ccfb27054281b28bd97912e5d (patch) | |
tree | dce0020f3623c811b6d4d8fee0e699b6358012c4 /org.eclipse.equinox.p2.releng/examples.psf | |
parent | a2dbd434889870ceecde595bee0143c898c5eb41 (diff) | |
download | rt.equinox.p2-1c099de68d1bb68ccfb27054281b28bd97912e5d.tar.gz rt.equinox.p2-1c099de68d1bb68ccfb27054281b28bd97912e5d.tar.xz rt.equinox.p2-1c099de68d1bb68ccfb27054281b28bd97912e5d.zip |
Bug 532118 - Eliminate exception when checking if buffer is full in MessageDigestProcessingStep
There is common wisdom behind the claim that throwing exception may
hurt performance but I have no real numbers to say it will have real
impact in this case.
However, in this case it is easy to avoid exception by explicitly
checking if the buffer is full before putting new data into it.
Change-Id: Ifbd178aff4f943c31772aa357ee8369efcee558f
Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
Diffstat (limited to 'org.eclipse.equinox.p2.releng/examples.psf')
0 files changed, 0 insertions, 0 deletions