Closed dzmitry-lahoda closed 5 years ago
Hey Dzimitry, do you have any performance benchmarks for this kind of optimization? I would have expected them to be similar!
I will recheck my memory regarding this case. May be I over complicate. Also I dislike override. Will test both item.
I'm not too much of a fan of override myself, but it does seem to be the right tool in this case.
will check this today to benchmarks.
May consider replace
with
It may improve performance.
https://github.com/invertedtomato/integer-compression/blob/8b0b80f1e74340b90cc9726c1bf944dbca93b24d/Library/Compression/Integers/Wave3/FibonacciCodec.cs#L37