liberasurecode/src/backends
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
..
isa-l ISA-L: Only calculate gf tables on init, not every encode 2017-02-13 09:43:24 +11:00
jerasure Ensure ec backends can actually be loaded. 2015-11-14 00:17:23 +00:00
null Ensure ec backends can actually be loaded. 2015-11-14 00:17:23 +00:00
rs_vand Ensure ec backends can actually be loaded. 2015-11-14 00:17:23 +00:00
shss Ensure ec backends can actually be loaded. 2015-11-14 00:17:23 +00:00
xor Ensure ec backends can actually be loaded. 2015-11-14 00:17:23 +00:00