<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kazu-yamamoto</author_name>
  <author_url>https://blog.hatena.ne.jp/kazu-yamamoto/</author_url>
  <blog_title>あどけない話</blog_title>
  <blog_url>https://kazu-yamamoto.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>Haskell ではキューが欲しくなったら Data.Sequence を使えと言われる。Seq は両端キューだし、シーケンスとして使えば、連結(&gt;finger treeなのでコードが複雑なのと、計算量が「ならし」なところが玉に傷である。もっと単純で、最悪計算量を保証する(両端でない)キューが標準で提供されてもいい気がする。その候補には、リアルタイムキューがある。どうして標準でキューが提供されないのだろう？ 僕なりの答えは「需要がない」だ。問題を解くときにスタックはよく使うが、キューが必要な問題はそんなに思いつかない。僕はネットワーク屋なので、もちろんルータにはキューが必要なことは知っているが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazu-yamamoto.hatenablog.jp%2Fentry%2F20121107%2F1352259739&quot; title=&quot; なぜ Haskell ではキューが軽んじられているか？ - あどけない話&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-11-07 12:42:19</published>
  <title> なぜ Haskell ではキューが軽んじられているか？</title>
  <type>rich</type>
  <url>https://kazu-yamamoto.hatenablog.jp/entry/20121107/1352259739</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
