<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/feed.rss.xml" type="text/xsl" media="screen"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Sergei Rybalkin</title>
    <description></description>
    <link>https://speakerdeck.com/rybalkinsd</link>
    <atom:link rel="self" type="application/rss+xml" href="https://speakerdeck.com/rybalkinsd.rss"/>
    <lastBuildDate>2022-02-07 11:16:02 -0500</lastBuildDate>
    <item>
      <title>DataClassGenerate. Shrinking Kotlin Data Classes</title>
      <description>This talk is a deep dive into Kotlin data classes optimisations. We will find what optimisations are possible, and how to apply them with Kotlin compiler plugins and Android optimisers.

In this talk: 
1. We quantify data classes impact on App size 
2. Apply general purpose DEX-code optimizations to data classes 
3. Introduce DataClassGenerate (DCG), a Kotlin-specific optimisation for data classes 
4. Observe Kotlin Compiler Plugin API and DCG implementation

Describes DataClassGenerate approach
    1. @DataClassGenerate annotation
    2. DataClassGenerate compiler plugin
    3. Kotlin Compiler plugin interaction with Redex</description>
      <media:content url="https://files.speakerdeck.com/presentations/3fc28b75395c4b8a9c0ed190f07ca062/preview_slide_0.jpg?20346690" type="image/jpeg" medium="image"/>
      <content:encoded>This talk is a deep dive into Kotlin data classes optimisations. We will find what optimisations are possible, and how to apply them with Kotlin compiler plugins and Android optimisers.

In this talk: 
1. We quantify data classes impact on App size 
2. Apply general purpose DEX-code optimizations to data classes 
3. Introduce DataClassGenerate (DCG), a Kotlin-specific optimisation for data classes 
4. Observe Kotlin Compiler Plugin API and DCG implementation

Describes DataClassGenerate approach
    1. @DataClassGenerate annotation
    2. DataClassGenerate compiler plugin
    3. Kotlin Compiler plugin interaction with Redex</content:encoded>
      <pubDate>Mon, 07 Feb 2022 00:00:00 -0500</pubDate>
      <link>https://speakerdeck.com/rybalkinsd/dataclassgenerate-shrinking-kotlin-data-classes</link>
      <guid>https://speakerdeck.com/rybalkinsd/dataclassgenerate-shrinking-kotlin-data-classes</guid>
    </item>
  </channel>
</rss>
