﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-zhb8015-最新评论</title><link>http://www.blogjava.net/zhb8015/CommentsRSS.aspx</link><description /><language>zh-cn</language><pubDate>Wed, 10 Apr 2013 13:53:14 GMT</pubDate><lastBuildDate>Wed, 10 Apr 2013 13:53:14 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: java深浅复制</title><link>http://www.blogjava.net/zhb8015/archive/2012/04/13/374072.html#374079</link><dc:creator>zhb8015</dc:creator><author>zhb8015</author><pubDate>Fri, 13 Apr 2012 07:24:00 GMT</pubDate><guid>http://www.blogjava.net/zhb8015/archive/2012/04/13/374072.html#374079</guid><description><![CDATA[补充一下：<br>七、性能测试：<br>测试结果：复制100000 克隆复制是串行化复制的74倍<br>100000 clone time:47<br>100000 serial clone time:3500<br>Multiple is(serial/clone):74<br><br>测试单元的代码：<br>******************<br>@Test<br>	public void deepCloneVsSerial() throws CloneNotSupportedException, IOException, ClassNotFoundException {<br>		int max = 100000;<br>		<br>		String manName = &quot;Robert C. Martin&quot;;<br>		int manAge = 40;<br><br>		int teacherAge = 50;<br>		String teacherName = &quot;T1&quot;;<br>		Teacher teacher = new Teacher(teacherName, teacherAge);<br>		<br>		Man man = new Man(manName, manAge, teacher);<br>		<br>		//begin<br>		long start1 = System.currentTimeMillis();<br>		for (int i = 0; i &lt; max; i++) {<br>			man.clone();<br>		}<br>		long end1 = System.currentTimeMillis();<br>		System.err.println(max + &quot; clone time:&quot; + (end1 - start1));<br>		<br>		long start2 = System.currentTimeMillis();<br>		for (int i = 0; i &lt; max; i++) {<br>			man.serialClone();<br>		}<br>		long end2 = System.currentTimeMillis();<br>		System.err.println(max + &quot; serial clone time:&quot; + (end2 - start2));<br>		<br>		System.err.println(&quot;Multiple is(serial/clone):&quot; + (end2 - start2)/(end1 - start1));<br>		/**<br>		 * 100000 clone time:47<br>		   100000 serial clone time:3438<br>		   Multiple is(serial/clone):73<br>		 */<br>	}<br><br>******************<br><img src ="http://www.blogjava.net/zhb8015/aggbug/374079.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zhb8015/" target="_blank">zhb8015</a> 2012-04-13 15:24 <a href="http://www.blogjava.net/zhb8015/archive/2012/04/13/374072.html#374079#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 求质数，难以理解的代码，有兴趣可以看一下</title><link>http://www.blogjava.net/zhb8015/archive/2012/04/12/373982.html#373991</link><dc:creator>zhb8015</dc:creator><author>zhb8015</author><pubDate>Thu, 12 Apr 2012 09:52:00 GMT</pubDate><guid>http://www.blogjava.net/zhb8015/archive/2012/04/12/373982.html#373991</guid><description><![CDATA[Robert C. Martin's explation:<br><br><br>/**<br>		 * Every multiple in the array has a prime factor that<br>		 * is less than or equal to the root of the array size,<br>		 * so we don't have to cross of multiples of numbers<br>		 * larger than that root.<br>		 */<img src ="http://www.blogjava.net/zhb8015/aggbug/373991.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zhb8015/" target="_blank">zhb8015</a> 2012-04-12 17:52 <a href="http://www.blogjava.net/zhb8015/archive/2012/04/12/373982.html#373991#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Advice about migrating to new platfrom  </title><link>http://www.blogjava.net/zhb8015/archive/2012/04/05/373193.html#373363</link><dc:creator>qingyue</dc:creator><author>qingyue</author><pubDate>Thu, 05 Apr 2012 04:34:00 GMT</pubDate><guid>http://www.blogjava.net/zhb8015/archive/2012/04/05/373193.html#373363</guid><description><![CDATA[platfrom or platform??<img src ="http://www.blogjava.net/zhb8015/aggbug/373363.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zhb8015/" target="_blank">qingyue</a> 2012-04-05 12:34 <a href="http://www.blogjava.net/zhb8015/archive/2012/04/05/373193.html#373363#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Advice about migrating to new platfrom  </title><link>http://www.blogjava.net/zhb8015/archive/2012/04/03/373193.html#373278</link><dc:creator>tb</dc:creator><author>tb</author><pubDate>Tue, 03 Apr 2012 05:19:00 GMT</pubDate><guid>http://www.blogjava.net/zhb8015/archive/2012/04/03/373193.html#373278</guid><description><![CDATA[good<img src ="http://www.blogjava.net/zhb8015/aggbug/373278.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zhb8015/" target="_blank">tb</a> 2012-04-03 13:19 <a href="http://www.blogjava.net/zhb8015/archive/2012/04/03/373193.html#373278#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>