<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>askul_hokahokagohan</author_name>
  <author_url>https://blog.hatena.ne.jp/askul_hokahokagohan/</author_url>
  <blog_title>ASKUL Engineering BLOG</blog_title>
  <blog_url>https://tech.askul.co.jp/</blog_url>
  <categories>
    <anon>Kotlin</anon>
    <anon>IDE</anon>
  </categories>
  <description>こんにちは。ASKULのほかほかごはんです。今回はKotlin1.6におけるCollection操作についての記事になります。 List1からList2の要素を除去する場合、Kotlinでは次のように書けます。 val result = list1 - list2 このコードはKotlin 1.6ではこう書いたほうがパフォーマンスがよくなります (とIntelliJ先生が教えてくれました 😇) val result = list1 - list2.toSet() しかし、Kotlin 1.5まではこのコードについてIntelliJがアドバイスをくれることはなかったはずです 🤔 これは、Kotl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.askul.co.jp%2Fentry%2F2022%2F02%2F25%2F160000&quot; title=&quot;Kotlin 1.6ではList.minus(List)の処理速度がデフォルトだと若干遅くなってしまうという話 - ASKUL Engineering BLOG&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-25 16:00:00</published>
  <title>Kotlin 1.6ではList.minus(List)の処理速度がデフォルトだと若干遅くなってしまうという話</title>
  <type>rich</type>
  <url>https://tech.askul.co.jp/entry/2022/02/25/160000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
