<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/yahle" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/yahle" type="application/rss+xml"></fs:self_link><lastBuildDate>Sun, 27 Dec 2009 14:02:00 GMT</lastBuildDate><title>yahle的技术专栏</title><description>业余游戏制作人夜荷的技术blog</description><link>http://blog.csdn.net/blogrss.aspx?username=yahle</link><item><title>《贸易时代》开始重构</title><link>http://blog.csdn.net/yahle/archive/2009/12/27/5087681.aspx</link><description>打算利用半年的时间将4年前用半年时间写的《贸易时代》做一次回顾，并将部分模块做重构，加深对项目设计的能力。

这次回顾和重构将对项目做开源，项目的地址：http://code.google.com/p/tradeage/

如您也想加入这次回顾和重构，可以先去下载区下载原始代码以及开发包，如果您能在半小时内顺利的把项目迁移到vs2008上，我将欢迎您的加入。&lt;img src=&quot;http://www1.feedsky.com/t1/315488518/yahle/csdn.net/s.gif?r=http://blog.csdn.net/yahle/archive/2009/12/27/5087681.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/yahle/315488518/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/yahle/315488518/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sun, 27 Dec 2009 22:02:00 +0800</pubDate><author>dogvane</author><guid isPermaLink="false">http://blog.csdn.net/yahle/archive/2009/12/27/5087681.aspx</guid><dc:creator>dogvane</dc:creator><fs:srclink>http://blog.csdn.net/yahle/archive/2009/12/27/5087681.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/yahle/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/yahle/~1174304/315488518/1174286</fs:itemid></item><item><title>优化MySQL插入数据</title><link>http://blog.csdn.net/yahle/archive/2007/08/20/1751986.aspx</link><description>摘要: 优化方法1： 
修改表的类型 
MySQL数据库表有两种类型，一种是支持事务处理，一种是不支持事务处理。MySQL在处理这两种表时，分别使用了不同类型的数据库引擎，因此数据库引擎在插入时效率不同，理论上说启用了事务功能后会比较慢。 
修改方法：在创建表时，指定表类型 
Create Table( 
….. /*字段说明*/ 
) ENGINE=InnoDB 
红色部分为表类型，InnoDB表示带事务，MyISAM表示不带事务功能 


优化方法2： 
一次插入多条数据 
MySQL通过一次执行插入多条数据，可以减少插入时间，提高效率，不过一次插入多条记录的SQL语法有点特别，貌似MS SQL Server不支持这样的语法： 
Insert into `table` values(data1),(data2),(data3) 
虽然可以将多次插入的数据一次插入，但是一次插入的量还是有限制的：拼接出的SQL语句字符串长度不能超过1M，记录数不限。不太清楚是MySQL限制还是MySQL.Data数据&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/yahle/315488519/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/yahle/315488519/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 20 Aug 2007 20:19:00 +0800</pubDate><author>yahle</author><guid isPermaLink="false">http://blog.csdn.net/yahle/archive/2007/08/20/1751986.aspx</guid><dc:creator>yahle</dc:creator><fs:srclink>http://blog.csdn.net/yahle/archive/2007/08/20/1751986.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/yahle/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/yahle/~1174304/315488519/1174286</fs:itemid></item><item><title>用于统计函数执行时间的类</title><link>http://blog.csdn.net/yahle/archive/2007/08/20/1751983.aspx</link><description>用于统计函数执行时间的类是最近在改进程序性能时写的，在函数入口处调用Start,在结束的时候调用Stop，在程序推出前调用Total进行统计输出。
该类不支持.net 1.1
using System;
using System.Data;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;

namespace Common
{
    /**//// 
    /// 函数执行时间统计
    /// 
    /// 
    /// public void function1()
    /// {
    ///    QueryTime.Start(&quot;function1&quot;);
    ///    //  处理代码
    ///    QueryTime.Stop(&quot;function1&quot;);
    /// }
    /// 
    /// public void function2()
    /// {&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/yahle/315488520/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/yahle/315488520/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 20 Aug 2007 20:15:00 +0800</pubDate><author>yahle</author><guid isPermaLink="false">http://blog.csdn.net/yahle/archive/2007/08/20/1751983.aspx</guid><dc:creator>yahle</dc:creator><fs:srclink>http://blog.csdn.net/yahle/archive/2007/08/20/1751983.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/yahle/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/yahle/~1174304/315488520/1174286</fs:itemid></item><item><title>.Net下通过CoGetClassObjectFromURL 安装 ActiveX控件</title><link>http://blog.csdn.net/yahle/archive/2007/01/30/1497849.aspx</link><description>通过调用CoGetClassObjectFromURL函数实现非IE程序安装AcitveX控件，并通过Managed C++ (托管C++)实现对安装函数的封装，使.net应用程序也能实现AcitveX的安装&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/yahle/315488521/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/yahle/315488521/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 30 Jan 2007 14:12:00 +0800</pubDate><author>yahle</author><guid isPermaLink="false">http://blog.csdn.net/yahle/archive/2007/01/30/1497849.aspx</guid><dc:creator>yahle</dc:creator><fs:srclink>http://blog.csdn.net/yahle/archive/2007/01/30/1497849.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/yahle/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/yahle/~1174304/315488521/1174286</fs:itemid></item><item><title>一个.net的小技巧</title><link>http://blog.csdn.net/yahle/archive/2006/12/02/1427322.aspx</link><description>最近在制作一个软件，客户反映某些运行消息很慢 ，通过调查，是在文件比较的时候，如果文件很大就会慢，基本上比较2M的文件要10s左右。这个的确是存在问题，通过查看代码，发现文件在比较的时候是通过readbyte()函数每读一个字符就进行一次判断。我猜想问题可能出在这里，每读一个字符，就产生一次io访问，如果一次读10K字符应该会减少一些io访问。通过修改，速度明显提高很多，看来真的是IO的问题。&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/yahle/315488522/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/yahle/315488522/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sat, 02 Dec 2006 22:42:00 +0800</pubDate><author>yahle</author><guid isPermaLink="false">http://blog.csdn.net/yahle/archive/2006/12/02/1427322.aspx</guid><dc:creator>yahle</dc:creator><fs:srclink>http://blog.csdn.net/yahle/archive/2006/12/02/1427322.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/yahle/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/yahle/~1174304/315488522/1174286</fs:itemid></item><item><title>系统分析师考试总结</title><link>http://blog.csdn.net/yahle/archive/2006/11/05/1368352.aspx</link><description>参加11月的系分考试总结...&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/yahle/315488523/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/yahle/315488523/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sun, 05 Nov 2006 21:31:00 +0800</pubDate><author>yahle</author><guid isPermaLink="false">http://blog.csdn.net/yahle/archive/2006/11/05/1368352.aspx</guid><dc:creator>yahle</dc:creator><fs:srclink>http://blog.csdn.net/yahle/archive/2006/11/05/1368352.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/yahle/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/yahle/~1174304/315488523/1174286</fs:itemid></item><item><title>一个电子商务网站的失败总结</title><link>http://blog.csdn.net/yahle/archive/2006/11/01/1361277.aspx</link><description>这个失败的案例是我从一家面试过的企业里了解到的。因为失败了，所以他们重新招募开发人员，打算从项目开始时就介入，这样到后期维护阶段就不会受制于开发商。虽然我认同他们的做法，但不认同他们的开发团队，所以没有能进该公司。&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/yahle/315488524/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/yahle/315488524/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 01 Nov 2006 20:16:00 +0800</pubDate><author>yahle</author><guid isPermaLink="false">http://blog.csdn.net/yahle/archive/2006/11/01/1361277.aspx</guid><dc:creator>yahle</dc:creator><fs:srclink>http://blog.csdn.net/yahle/archive/2006/11/01/1361277.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/yahle/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/yahle/~1174304/315488524/1174286</fs:itemid></item><item><title>一个Server Application Unavailable 错误</title><link>http://blog.csdn.net/yahle/archive/2006/09/21/1261642.aspx</link><description>病毒也会造成asp.net的Server Application Unavailable 错误&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/yahle/315488525/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/yahle/315488525/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 21 Sep 2006 16:53:00 +0800</pubDate><author>yahle</author><guid isPermaLink="false">http://blog.csdn.net/yahle/archive/2006/09/21/1261642.aspx</guid><dc:creator>yahle</dc:creator><fs:srclink>http://blog.csdn.net/yahle/archive/2006/09/21/1261642.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/yahle/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/yahle/~1174304/315488525/1174286</fs:itemid></item><item><title>IE Toolbar 的实现思路(二）完善篇</title><link>http://blog.csdn.net/yahle/archive/2006/09/18/1240612.aspx</link><description>一个简单的IE ToolBar是不会得到客户喜欢的，需要不断的完善，并找到错误的地方予以修正，本文就是在完善IE ToolBar的过程中的一些总结。&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/yahle/315488526/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/yahle/315488526/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 18 Sep 2006 22:59:00 +0800</pubDate><author>夜荷</author><guid isPermaLink="false">http://blog.csdn.net/yahle/archive/2006/09/18/1240612.aspx</guid><dc:creator>夜荷</dc:creator><fs:srclink>http://blog.csdn.net/yahle/archive/2006/09/18/1240612.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/yahle/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/yahle/~1174304/315488526/1174286</fs:itemid></item><item><title>完成端口的一个简单封装类</title><link>http://blog.csdn.net/yahle/archive/2006/09/09/1199613.aspx</link><description>Windows下效率最高的网络模型，代码对起进行了简单封装，足以满足一般的需求。同时增加利用IOCP作为客户端的方案。&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/yahle/315488527/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/yahle/315488527/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sat, 09 Sep 2006 17:41:00 +0800</pubDate><author>夜荷</author><guid isPermaLink="false">http://blog.csdn.net/yahle/archive/2006/09/09/1199613.aspx</guid><dc:creator>夜荷</dc:creator><fs:srclink>http://blog.csdn.net/yahle/archive/2006/09/09/1199613.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/yahle/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/yahle/~1174304/315488527/1174286</fs:itemid></item></channel></rss>