<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bbplus</author_name>
  <author_url>https://blog.hatena.ne.jp/bbplus/</author_url>
  <blog_title>現代の量子力学</blog_title>
  <blog_url>https://keke.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>インライン関数ってどれだけ早いの？ インライン関数がどれだけ早いのか気になったので、調べた。 インライン関数ってどれだけ早いの？ コード 結果 参照渡しにしてみた 結果 どのくらいの長さの関数だったらinlineにすべきか？ 結果 結論 コード #include&lt;iostream&gt; #include&lt;chrono&gt; #include&lt;vector&gt; using namespace std; template&lt;class T&gt;inline int inline_sz(T &amp;a) { return a.size(); } template&lt;class T&gt;int sz(T &amp;a) { return…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkeke.hatenadiary.com%2Fentry%2F2020%2F09%2F29%2F162906&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>2020-09-29 16:29:06</published>
  <title>インライン関数ってどれだけ早いの？？</title>
  <type>rich</type>
  <url>https://keke.hatenadiary.com/entry/2020/09/29/162906</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
