Skip to content
  • Clinton Stimpson's avatar
    Fix performance issue with getting version from zlib.h · 5850b8b7
    Clinton Stimpson authored
    Some zlib.h files have ZLIB_VERSION "1.2.3.3" with 4 numbers instead of 3.
    The regex is changed to grab the first 3 numbers.
    It was slow because if it failed to find that string near the top of the file,
    where it usually is, it would read the entire file.
    5850b8b7