<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ijuhs</author_name>
  <author_url>https://blog.hatena.ne.jp/ijuhs/</author_url>
  <blog_title>Giraffe+の開発についてのブログ</blog_title>
  <blog_url>https://ijuhs.hatenadiary.org/</blog_url>
  <categories>
    <anon>gs</anon>
  </categories>
  <description>従来の、selfと同じ型を返すslice([pos len])がslice_safe({pos len})になり、sliceはRangeを返すようになりました。 大きな配列や文字列を扱う場合にかなりの高速化とメモリ使用量抑制が期待できますが、注意点もあります。 Rangeに関する注意 sliceに限らない、Range全般の注意が当てはまります。位置情報ではなく、イテレータを持つだけですので、その参照先に変化が有った場合に不正な参照になりえます。 s:: 'abc' r: s.[1 1] //== 'b' s.resize(10) //reallocation r.join //結果不明元の型と…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fijuhs.hatenadiary.org%2Fentry%2F20100629%2F1277760930&quot; title=&quot;新しいsliceのまとめ - Giraffe+の開発についてのブログ&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-06-29 06:35:30</published>
  <title>新しいsliceのまとめ</title>
  <type>rich</type>
  <url>https://ijuhs.hatenadiary.org/entry/20100629/1277760930</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
