<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mitsu_chie</author_name>
  <author_url>https://blog.hatena.ne.jp/mitsu_chie/</author_url>
  <blog_title>ゲーム作ろうよ</blog_title>
  <blog_url>https://mitsu-chie.hatenadiary.org/</blog_url>
  <categories>
    <anon>アルゴリズム</anon>
  </categories>
  <description>概要 newとかdeleteってもの凄く重いですよね。 何故かって割り当てられる領域を探すのに時間がかかっているんです。 OS側でメモリを管理しているわけですが、色んなシステムが割り当て要求をしてきます。 さらに大きさがバラバラなので、割り当て取り消しを繰り返しているうちに虫食い状態になります。 そこでOSさんはメモリから要求サイズより大きい場所を探します。 デフラグするということもありますが、そんな時間ももったいない。 弾幕系のSTGなんか弾の生成削除でnew/deleteしていたらfpsなんて激減ですよ。 そこで ある程度大きいサイズをあらかじめ確保しておいて、固定された大きさで大雑把に割…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmitsu-chie.hatenadiary.org%2Fentry%2F20100227%2F1267299131&quot; title=&quot;高速固定長アロケータ - ゲーム作ろうよ&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>2010-02-27 04:32:11</published>
  <title>高速固定長アロケータ</title>
  <type>rich</type>
  <url>https://mitsu-chie.hatenadiary.org/entry/20100227/1267299131</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
