From: Zooko O'Whielacronx Date: Wed, 24 Jan 2007 22:21:45 +0000 (-0700) Subject: add comment X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~325 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/frontends?a=commitdiff_plain;h=020dd3f6d289182471f9ae6dba334e8f7ab212db;p=tahoe-lafs%2Ftahoe-lafs.git add comment --- diff --git a/pyfec/fec/fec.c b/pyfec/fec/fec.c index fcedb16a..441f3d0b 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++) {