1. An integrated circuit, comprising: an input data buffer that receives an input string to be compressed; a plurality of diverse lossless compression engines that compress the input string to obtain a plurality of compressed strings, wherein the plurality of diverse lossless compression engines include a template-based compression engine and a non-template-based compression engine; selection logic that selects a most compressed string among the plurality of compressed strings, determines whether or not the most compressed string was generated by the template-based compression engine, and if so, causes the most compressed string to be recompressed by the non-template-based compression engine to obtain an output string, and outputs the output string, wherein the selection logic, responsive to a determination that the most compressed string was not obtained by application of the template-based compression technique, outputs the most compressed string as the output string.