Skip to content
  1. Jul 05, 2021
  2. Jul 04, 2021
  3. Jul 02, 2021
  4. Jul 01, 2021
  5. Jun 30, 2021
    • Baptiste Jonglez's avatar
      tessdata: uncompress tarball only once to speed up builds · 7fe51397
      Baptiste Jonglez authored
      
      
      The previous approach was to uncompress N times a big tarball (638 MB)
      where N=130 is the number of supported languages.  Each iteration would
      only extract a single file, but it still needs to uncompress the whole
      tarball.  This is of course completely inefficient.
      
      Now, we uncompress the tarball only once to extract all relevant files,
      and then iterate N times to copy the file needed for each language.
      
      This massively speeds up builds, at the expense of temporarily requiring
      more build space (about 1 GB more)
      
      Signed-off-by: default avatarBaptiste Jonglez <git@bitsofnetworks.org>
      7fe51397