<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: The Speed Test: Comparing Map.of() and new HashMap() in Java	</title>
	<atom:link href="https://bazlur.ca/2023/03/16/speed-test-comparing-map-of-new-hashmap/feed/" rel="self" type="application/rss+xml" />
	<link>https://bazlur.ca/2023/03/16/speed-test-comparing-map-of-new-hashmap/</link>
	<description>Java Champion 🏆 Empowering Developers through Speaking 🗣️ Writing ✍️ Mentoring 🤝 &#38; Community Building 🌍 Published Author 📖 Contributing Editor at InfoQ and Foojay.IO</description>
	<lastBuildDate>Fri, 17 Mar 2023 09:50:02 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: A N M Bazlur Rahman		</title>
		<link>https://bazlur.ca/2023/03/16/speed-test-comparing-map-of-new-hashmap/#comment-24</link>

		<dc:creator><![CDATA[A N M Bazlur Rahman]]></dc:creator>
		<pubDate>Fri, 17 Mar 2023 09:50:02 +0000</pubDate>
		<guid isPermaLink="false">https://foojay.io/?p=62785#comment-24</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://bazlur.ca/2023/03/16/speed-test-comparing-map-of-new-hashmap/#comment-23&quot;&gt;Jean-Philippe Bempel&lt;/a&gt;.

You are correct in pointing out that the error bar ranges for testHashMap and testMapOf overlap. Thus it may be inappropriate to conclude that Map.of() is significantly faster than new HashMap() based solely on this data. The latencies of the two methods are close, and the overlapping error bars indicate that the differences in their latencies may not be statistically significant.

I have updated the conclusion.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://bazlur.ca/2023/03/16/speed-test-comparing-map-of-new-hashmap/#comment-23">Jean-Philippe Bempel</a>.</p>
<p>You are correct in pointing out that the error bar ranges for testHashMap and testMapOf overlap. Thus it may be inappropriate to conclude that Map.of() is significantly faster than new HashMap() based solely on this data. The latencies of the two methods are close, and the overlapping error bars indicate that the differences in their latencies may not be statistically significant.</p>
<p>I have updated the conclusion.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jean-Philippe Bempel		</title>
		<link>https://bazlur.ca/2023/03/16/speed-test-comparing-map-of-new-hashmap/#comment-23</link>

		<dc:creator><![CDATA[Jean-Philippe Bempel]]></dc:creator>
		<pubDate>Fri, 17 Mar 2023 08:31:33 +0000</pubDate>
		<guid isPermaLink="false">https://foojay.io/?p=62785#comment-23</guid>

					<description><![CDATA[testHahMap has a latency of 84.920ns/op +/- 1.737 which means the error bar range from 83.183 to 86.657.
testMapOf has a latency of 83.290ns/op +/- 0.471 which means the error bar range from 82,819 to 83,761.
How could you conclude that &quot;Map.of() is significantly faster than new HashMap() for small maps.&quot; while the 2 error bar range overlapped in term of latency?

The updated results may have change from the first ones, but would be great to acknowledge it and change also the conclusion.
Thanks]]></description>
			<content:encoded><![CDATA[<p>testHahMap has a latency of 84.920ns/op +/- 1.737 which means the error bar range from 83.183 to 86.657.<br />
testMapOf has a latency of 83.290ns/op +/- 0.471 which means the error bar range from 82,819 to 83,761.<br />
How could you conclude that &#8220;Map.of() is significantly faster than new HashMap() for small maps.&#8221; while the 2 error bar range overlapped in term of latency?</p>
<p>The updated results may have change from the first ones, but would be great to acknowledge it and change also the conclusion.<br />
Thanks</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
