* Jerasure
** try multiplication without a lookup table? (to save cache pressure)
* conditional compilation to handle a printf that doesn't understand %Zu
- * try malloc() instead of alloca() (more portable, possibly better for keeping stacks aligned)
+ * try malloc() instead of alloca() (more portable, possibly better for keeping stacks aligned?)
* announce on lwn, p2p-hackers
-
+
+ * streaming mode
pass
VERSIONFILE = "zfec/_version.py"
verstr = "unknown"
-VSRE = re.compile("^verstr = ['\"]([^'\"]*)['\"]", re.M)
try:
verstrline = open(VERSIONFILE, "rt").read()
except EnvironmentError:
pass # Okay, there is no version file.
else:
- mo = VSRE.search(verstrline)
+ VSRE = r"^verstr = ['\"]([^'\"]*)['\"]"
+ mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
PyDict_SetItemString(module_dict, "Error", py_fec_error);
}
-/**
- * zfec -- fast forward error correction library with Python interface
- *
- * Copyright (C) 2007 Allmydata, Inc.
- * Author: Zooko Wilcox-O'Hearn
- *
- * This file is part of zfec.
- *
- * See README.txt for licensing information.
- */
-
/**
* originally inspired by fecmodule.c by the Mnet Project, especially Myers
* Carpenter and Hauke Johannknecht
*/
-
if __name__ == "__main__":
unittest.main()
-
-# zfec -- fast forward error correction library with Python interface
-#
-# Copyright (C) 2007 Allmydata, Inc.
-# Author: Zooko Wilcox-O'Hearn
-#
-# This file is part of zfec.
-#
-# See README.txt for licensing information.