<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>LaurenČ›iu,</p>
    <blockquote type="cite"
cite="mid:0d6f3b21-ed82-4883-84e0-6bf2e6d31aab@betaapp.fastmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <title></title>
      <style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
      <div style="font-family:Arial;"><br>
      </div>
      <div style="font-family:Arial;">I noticed that <span class="font"
          style="font-family:menlo, consolas, monospace, sans-serif;">gdalbuildvrt</span>
        with no options produces VRTs that use <span class="font"
          style="font-family:menlo, consolas, monospace, sans-serif;">ComplexSource</span>,
        when <span class="font"
          style="font-family:menlo, consolas, monospace, sans-serif;">SimpleSource</span>
        would be sufficient. Is there any meaningful performance
        difference between the two? I know I should measure myself, I
        just didn't get to try it yet.<br>
      </div>
    </blockquote>
    <p>It only uses a ComplexSource when it needs to, that is to say
      when there is nodata or a mask band. Otherwise it will use
      SimpleSource. There is a performance hit in using ComplexSource
      when it is not needed. In 3.8, there has been an optimization to
      improve ComplexSource performance in common nodata-only scenarios:
      cf
<a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/commit/cd67491d3909f5f05160fa209609b38d973c42de">https://github.com/OSGeo/gdal/commit/cd67491d3909f5f05160fa209609b38d973c42de</a></p>
    <p>Even</p>
    <span style="white-space: pre-wrap">
</span>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>