From: Zooko O'Whielacronx zooko@zooko.com Date: Wed, 24 Jan 2007 21:21:45 +0000 (+0530) Subject: add comment X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/frontends/%22file:/statistics?a=commitdiff_plain;h=c5deda8b32fd3dcaf333af533c7f8f2a2aad35a5;p=tahoe-lafs%2Fzfec.git add comment darcs-hash:b6c7c9dac323a39cd72c5b0ef86cc6100d2c8786 --- diff --git a/pyfec/fec/fec.c b/pyfec/fec/fec.c index fcedb16..441f3d0 100644 --- a/pyfec/fec/fec.c +++ b/pyfec/fec/fec.c @@ -577,6 +577,7 @@ fec_encode_all(const fec_t* code, const gf*restrict const*restrict const src, gf } #if 0 +/* By turning the nested loop inside out, we might incur different cache usage and therefore go slower or faster. However in practice I'm not able to detect a difference, since >90% of the time is spent in my Python test script anyway. :-) */ void fec_encode_all(const fec_t* code, const gf*restrict const*restrict const src, gf*restrict const*restrict const fecs, const unsigned char*restrict const share_ids, unsigned char num_share_ids, size_t sz) { for (unsigned j=0; j < code->k; j++) {