c# - differential compression of multiple arrays -
i have multiple arrays have same length. contain changing data. example:
var array1 = new int[] { 1, 2, 3, 4, 5, 6 }; var array2 = new int[] { 23, 2, 3, 4, 5, 6 }; var array3 = new int[] { 23, 2, 97, 4, 5, 6 }; var array4 = new int[] { 23, 2, 97, 4, 5, 81 }; var array5 = new int[] { 23, 2, 97, 4, 64, 81 };
i have several thousands of arrays, , want optimize memory footprint after creation of them.
i thought use compression algorithms known video compression (some key frames , many differential frames). not able find available in c#.
i need able access content of single arrays after compressed. instance, after compressed, want able say: "give me content of second array." , want numbers 23, 2, 3, 4, 5, 6
can give me hint how can compress arrays? favor compression audio or video compression key frames , differential frames.
Comments
Post a Comment