<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ukonlly</author_name>
  <author_url>https://blog.hatena.ne.jp/ukonlly/</author_url>
  <blog_title>開発めも２</blog_title>
  <blog_url>https://ukonlly.hatenablog.jp/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>アルゴリズム</anon>
  </categories>
  <description>要件：100万レコードからなる｛ID，SCORE｝の中からTOP N件をSCORE降順で得たい。 普通にやる HashMap&lt;String, Double&gt; items = new HashMap&lt;&gt;(); for (int i = 0; i &lt; 1000000; i++) { items.put(String.valueOf(i), r.nextDouble()); } List&lt;Entry&lt;String, Double&gt;&gt; entries = new ArrayList&lt;&gt;(items.entrySet()); long t10 = System.currentTimeMillis(); …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fukonlly.hatenablog.jp%2Fentry%2F2016%2F10%2F11%2F235251&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>2016-10-11 23:52:51</published>
  <title> 巨大な配列のソートの計算量を減らす</title>
  <type>rich</type>
  <url>https://ukonlly.hatenablog.jp/entry/2016/10/11/235251</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
