<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>megascus</author_name>
  <author_url>https://blog.hatena.ne.jp/megascus/</author_url>
  <blog_title> 水まんじゅう2</blog_title>
  <blog_url>https://megascus.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>前回の記事で、文字として扱わない状態で改行コードで分割することでパラレル実行向けに最適化されたようだと書きましたが、そういえば、Javaのバイトからの文字列への変換にどれくらいコストがかかるのかを調べたことがなかったので、調べました。なお、環境は前回と同じ。 PCとしては5年ぐらい前のCore i7だけどHDDなWindows 10のものを使用しています。 使用したJavaのバイナリはjdk-9-ea+167_windows-x64_bin.exeです。ということで、以下の3通りで調べました。 //文字列として扱う BufferedReader reader = Files.newBuffer…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmegascus.hatenablog.com%2Fentry%2F20170507%2F1494171105&quot; title=&quot;Javaの文字列変換にどれくらい時間がかかってるかを測定してみる -  水まんじゅう2&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>2017-05-07 00:31:45</published>
  <title>Javaの文字列変換にどれくらい時間がかかってるかを測定してみる</title>
  <type>rich</type>
  <url>https://megascus.hatenablog.com/entry/20170507/1494171105</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
