<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=windows-1252">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>For information<br>
    </p>
    <div class="moz-forward-container"><br>
      <br>
      -------- Forwarded Message --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
            </th>
            <td>Zesty live images will no longer have .pyc files
              stripped by default - flavour developers please take note</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
            <td>Fri, 4 Nov 2016 11:29:53 +0000</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
            <td>Iain Lane <a class="moz-txt-link-rfc2396E" href="mailto:laney@ubuntu.com"><laney@ubuntu.com></a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:ubuntu-release@lists.ubuntu.com">ubuntu-release@lists.ubuntu.com</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <pre>Dear flavour developers,

For a long time, we've been stripping .pyc files from live images in order to
save space. This is a speed-vs-space tradeoff, as non-byte-compiled Python code
on the live CDs will run slower.

Ubiquity (the installer) has code to regenerate these files when you install
the system, so the installed system does not suffer from this tradeoff having
been made.

Towards the end of the 16.10 cycle, we reviewed our position[0] to see if it
still made sense in an era where most of our images are less space constrained.
On an Ubuntu Desktop live CD, the saving is approximately 19 MB. Unfortunately
I don't have good numbers for the speed gain, but it is noticable on slow
systems. We consider this an acceptable cost for faster app startup, and so for
Zesty we have inverted this default and made .pyc stripping opt-in instead of
opt-out.

This is an announcement to make flavours aware. If you wish to opt back in,
please reply to this email or raise a merge proposal against lp:livecd-rootfs.

Cheers,

-- 
Iain Lane                                  [ <a class="moz-txt-link-abbreviated" href="mailto:iain@orangesquash.org.uk">iain@orangesquash.org.uk</a> ]
Debian Developer                                   [ <a class="moz-txt-link-abbreviated" href="mailto:laney@debian.org">laney@debian.org</a> ]
Ubuntu Developer                                   [ <a class="moz-txt-link-abbreviated" href="mailto:laney@ubuntu.com">laney@ubuntu.com</a> ]

[0] <a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1627190">https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1627190</a>

</pre>
    </div>
  </body>
</html>