From 020dd3f6d289182471f9ae6dba334e8f7ab212db Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Wed, 24 Jan 2007 15:21:45 -0700 Subject: [PATCH] add comment --- pyfec/fec/fec.c | 1 + 1 file changed, 1 insertion(+) 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++) { -- 2.45.2