<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>espresso3389</author_name>
  <author_url>https://blog.hatena.ne.jp/espresso3389/</author_url>
  <blog_title>espresso3389の日記</blog_title>
  <blog_url>https://espresso3389.hatenablog.com/</blog_url>
  <categories>
    <anon>Win32</anon>
  </categories>
  <description>とっても環境依存で実装依存な事なんですが、一方で、メモリ効率っていうのは非常に大事なファクターです。 特に小さな構造体をメモリにたくさん配置するような場合、メモリのアラインメント(データをCPUが効率的にアクセスできるきりの良いアドレスに配置すること、16バイトとか、32バイトといった単位になることが多い)のため、メモリが無駄になることが多いです。例えば、現状のIntel x86系で32-bit OSだと、6バイトのメモリを確保するなんてことをすると、アラインメント単位がおそらく、16バイトなので、10バイト分が利用されることなく無駄な領域として残されることになります。ただし、一般的に、mal…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fespresso3389.hatenablog.com%2Fentry%2F20120201%2F1328075579&quot; title=&quot; 効率的なメモリブロックサイズ - espresso3389の日記&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>2012-02-01 14:52:59</published>
  <title> 効率的なメモリブロックサイズ</title>
  <type>rich</type>
  <url>https://espresso3389.hatenablog.com/entry/20120201/1328075579</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
