<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuk1tyd</author_name>
  <author_url>https://blog.hatena.ne.jp/yuk1tyd/</author_url>
  <blog_title>Don't Repeat Yourself</blog_title>
  <blog_url>https://blog-dry.com/</blog_url>
  <categories>
  </categories>
  <description>先日 rustc に上がっていた PR にこんなものがありました。Vec::retain を最適化したという PR です。他の PR の様子なども見る限り、以前からここは取り組まれていたようですが、この度ようやく修正が入り、Vec::retain が高速化しました。 github.com 実際どのくらい高速化したかと言うと、ベンチマークを見る限りではほとんど倍になっていたケースもあるくらいには速くなっていました。その他でもパフォーマンスが微妙に高くなっていたりと、だいたいのケースで高速化しているように見えました。 この PR では、 swap の廃止 truncate の廃止 の2つが行われて…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog-dry.com%2Fentry%2F2021%2F02%2F21%2F020756&quot; title=&quot;Vec::retain の最適化 - Don&amp;#39;t Repeat Yourself&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>2021-02-21 02:07:56</published>
  <title>Vec::retain の最適化</title>
  <type>rich</type>
  <url>https://blog-dry.com/entry/2021/02/21/020756</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
