<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>baba_s</author_name>
  <author_url>https://blog.hatena.ne.jp/baba_s/</author_url>
  <blog_title>コガネブログ</blog_title>
  <blog_url>https://baba-s.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>C#</anon>
    <anon>Unity - 最適化</anon>
  </categories>
  <description>概要 using System.Linq; using UnityEngine; public class Example : MonoBehaviour { private static string[] m_list = { &quot;フシギダネ&quot;, &quot;フシギソウ&quot;, &quot;フシギバナ&quot;, }; private void Update() { var name = &quot;ピカチュウ&quot;; var result = m_list.Where( c =&gt; c == name ); } } 通常の LINQ をそのまま使用すると 184 B の GC Alloc が発生しますが using System; usi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2019%2F12%2F25%2F080000&quot; title=&quot;【Unity】LINQ の拡張メソッドを自作して GC Alloc を減らす方法 - コガネブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20191224/20191224120913.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-25 08:00:00</published>
  <title>【Unity】LINQ の拡張メソッドを自作して GC Alloc を減らす方法</title>
  <type>rich</type>
  <url>https://baba-s.hatenablog.com/entry/2019/12/25/080000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
