From c5deda8b32fd3dcaf333af533c7f8f2a2aad35a5 Mon Sep 17 00:00:00 2001
From: "Zooko O'Whielacronx zooko@zooko.com" <zooko@zooko.com>
Date: Thu, 25 Jan 2007 02:51:45 +0530
Subject: [PATCH] add comment

darcs-hash:b6c7c9dac323a39cd72c5b0ef86cc6100d2c8786
---
 pyfec/fec/fec.c | 1 +
 1 file changed, 1 insertion(+)

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++) {
-- 
2.45.2