<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chiopino</author_name>
  <author_url>https://blog.hatena.ne.jp/chiopino/</author_url>
  <blog_title>dosyaburi</blog_title>
  <blog_url>https://dosyaburi.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>flyweightパターンとは コード例 実装 実行 特徴 まとめ flyweightパターンとは ボクシングなどのフライ級を意味します。 プログラミングでは軽量化と言ったような意味になります。クラスを扱うにはインスタンスを生成します。 プログラムにもよりますが、オブジェクトが千や万も作られることもあるかもしれません。 また、オブジェクト数はそれほど多くはないけれど、一つ一つのオブジェクトのメモリ量が多いこともあります。 オブジェクトの数が多いほどpcのメモリは圧迫され、動作が遅くなっていきます。メモリを節約するにはどうすればいいでしょうか。 その方法の一つに、同じ内容のオブジェクトは作らずに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdosyaburi.hateblo.jp%2Fentry%2F2021%2F06%2F23%2F200000&quot; title=&quot;デザインパターンFlyweightについて勉強した - dosyaburi&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>2021-06-23 20:00:00</published>
  <title>デザインパターンFlyweightについて勉強した</title>
  <type>rich</type>
  <url>https://dosyaburi.hateblo.jp/entry/2021/06/23/200000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
