<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>deve68</author_name>
  <author_url>https://blog.hatena.ne.jp/deve68/</author_url>
  <blog_title>コードの恵み</blog_title>
  <blog_url>https://deve68.hatenadiary.org/</blog_url>
  <categories>
    <anon>.groovy</anon>
  </categories>
  <description>Nagai Masato 氏の Exploring Groovy 1.8 Part 1 - そのコード、本当に最適化されてますか? を読んでコメントしようとしたができなかったので。 if-else と if + return は変わらない エントリのソースを試していて偶然気が付いた。{} をつければ変わらない。 // 最適化されない int fib1(int i) { if (i &lt; 2) 1 else fib1(i - 2) + fib1(i - 1) } // 最適化される int fib2(int i) { if (i &lt; 2) { 1 } else fib2(i - 2) + fib2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdeve68.hatenadiary.org%2Fentry%2F20110523%2F1306161013&quot; title=&quot; Re: そのコード、本当に最適化されてますか?  - コードの恵み&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>2011-05-23 23:30:13</published>
  <title> Re: そのコード、本当に最適化されてますか? </title>
  <type>rich</type>
  <url>https://deve68.hatenadiary.org/entry/20110523/1306161013</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
