I am experimenting with BWTS.cpp ( BWT Scott-ified).
I love iterative encoding/decoding and BWTS is clean with no overhead however I am simply merging Scott's code into my latest experiment and I'm needing some clarity on BLOCK_SIZE and "buffer' dimension. What does BLOCK_SIZE mean? Is it a maximum of what data it sorts? Can it be larger than 1000000 bytes? Can buffer[] be the size of the source file?
I did see some search results of for some newer efforts (BWTS) are using a larger block size and here I am getting a segmentation error on run after changing BLOCK_SIZE to 4000000 and pairing the "buffer[]" size to the file-size so I am not sure I am understanding the relationship of buffer[] and BLOCK_SIZE
I am trying to convert the BWTS.cpp to a function but perhaps there is something better now that is already a function???
That would be great! I lack advanced understanding of BWTS I admit
Any advice?