liberasurecode/src
Daniel Axtens 90679884ef ISA-L: Only calculate gf tables on init, not every encode
Currently, the Galois Field multiplication tables are recalcuated
every time an encode is done. This is wasteful, as they are fixed
by k and m, which is set on init.

Calculate the tables only once, on init.

This trades off a little bit of per-context memory and creation
time for measurably faster encodes when using the same context.

On powerpc64le, when repeatedly encoding a 4kB file with pyeclib,
this increases the measured speed by over 10%.

Change-Id: I2f025aaee2d13cb1717a331e443e179ad5a13302
Signed-off-by: Daniel Axtens <dja@axtens.net>
2017-02-13 09:43:24 +11:00
..
backends ISA-L: Only calculate gf tables on init, not every encode 2017-02-13 09:43:24 +11:00
builtin Fix prototype declaration / definition mismatch (issue #25) 2016-03-04 20:36:12 +01:00
utils/chksum Fixing Issue #19 by stubbing out Jerasures uninit function. 2015-09-12 17:34:38 -07:00
Makefile.am ISA-L Cauchy support 2016-12-06 17:08:55 -08:00
erasurecode.c Merge "Add get_version functionality to liberasurecode lib" 2016-12-08 19:54:37 +00:00
erasurecode_helpers.c Fix posix_memalign handling 2016-07-12 07:12:30 -07:00
erasurecode_postprocessing.c Fragment metadata checksumming support 2016-03-10 07:33:16 +00:00
erasurecode_preprocessing.c Fix segfault when fragment index is out of range 2016-02-14 07:14:43 +00:00