<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>griefworker</author_name>
  <author_url>https://blog.hatena.ne.jp/griefworker/</author_url>
  <blog_title>present</blog_title>
  <blog_url>https://tnakamura.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>「関数のメモ化」というテクニックがあるみたい。 この関数呼んだら毎回超モッサリするんだけど？だったらメモ化とかしてみたら？というただのメモ - Bug Catharsis 初めて知った。メソッドの引数と結果をキャッシュしているのかぁ。クロージャの「環境を包み込む」特徴を上手く使って、キャッシュ用変数を外部から見えなくしているところがステキ。 using System; using System.Collections.Generic; using System.Linq; using System.Threading; namespace MemoSample { class Program …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F20091111%2Ffunction_memoization&quot; title=&quot;関数のメモ化 - present&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>2009-11-11 00:00:00</published>
  <title>関数のメモ化</title>
  <type>rich</type>
  <url>https://tnakamura.hatenablog.com/entry/20091111/function_memoization</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
