<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Allan的专栏]]></title><description><![CDATA[漫漫求索路]]></description><link>https://blog.youkuaiyun.com/Explorer_learner</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Explorer_learner]]></copyright><item><title><![CDATA[中国游戏的格局]]></title><link>https://blog.youkuaiyun.com/Explorer_learner/article/details/6041108</link><guid>https://blog.youkuaiyun.com/Explorer_learner/article/details/6041108</guid><author>Explorer_learner</author><pubDate>Sun, 28 Nov 2010 17:22:00 +0800</pubDate><description><![CDATA[<br />当前：<br />从目前来看，大型的2d，3d网游表现相当疲软啊，网页游戏增长貌似不错。 移动平台的游戏算是新势力。<br /> <br />曾经我们一直叫嚷着中国网游的出处，个人看来，目前中国网游的下一阶段的雏形已经开始渐渐显露了。<br /> <br />展望：<br />未来几年，大型网游市场会持续缩水，目前的大型网游将出现小型化和巨型化2条路，不过个人理想中的巨型化网游的硬件条件可能目前还是缺乏的，所以瞒长一段时间的巨型化之路可能还不会出现大的动作。  小型化可能会渐渐片中休闲类，策略类]]></description><category></category></item><item><title><![CDATA[遇到一个面试题]]></title><link>https://blog.youkuaiyun.com/Explorer_learner/article/details/6024449</link><guid>https://blog.youkuaiyun.com/Explorer_learner/article/details/6024449</guid><author>Explorer_learner</author><pubDate>Sun, 21 Nov 2010 03:40:00 +0800</pubDate><description><![CDATA[    今天遇到一个面试题， 金山的一个朋友问我的。 题目是这样的。    人们在酒店等电梯。酒店有0到M层楼。电梯有人数限制X， 载重限制为Y。 0层楼有N个人排队等到进入电梯。 每个人的体重存在数组A[K]中。他们各自的目标楼层是B[K]。 人们依次排队进入电梯，不能插队。电梯尽量一次载尽可能多的人上楼。在各个目标楼层放出乘客，之后返回0楼。 每次停靠在一个楼层，算一次停靠。返回0楼也算停靠一...]]></description><category></category></item><item><title><![CDATA[_index和__newindex元方法]]></title><link>https://blog.youkuaiyun.com/Explorer_learner/article/details/6020518</link><guid>https://blog.youkuaiyun.com/Explorer_learner/article/details/6020518</guid><author>Explorer_learner</author><pubDate>Fri, 19 Nov 2010 02:23:00 +0800</pubDate><description><![CDATA[这两天一直在折腾lua了，到现在才大概明白一点元方法的含义，恩，应该是我太笨了，现在，呵呵～首先，__index: 索引访问table[key]function gettable_event (table, key)local hif type(table) == "table" then local v = rawget(table, key)if v ~= nil thenreturn vendh = metatable(table).__index if h == nil thenreturn nil]]></description><category></category></item><item><title><![CDATA[linux下和windows 下 snprintf函数的区别]]></title><link>https://blog.youkuaiyun.com/Explorer_learner/article/details/5462475</link><guid>https://blog.youkuaiyun.com/Explorer_learner/article/details/5462475</guid><author>Explorer_learner</author><pubDate>Thu, 08 Apr 2010 15:13:00 +0800</pubDate><description><![CDATA[在linux下面，snprintf函数的说明：Return value       Upon  successful  return,  these  functions return the number of characters printed (not including the trailing       /0 used to end output to strings).  ]]></description><category></category></item><item><title><![CDATA[关于双装备系统]]></title><link>https://blog.youkuaiyun.com/Explorer_learner/article/details/5459850</link><guid>https://blog.youkuaiyun.com/Explorer_learner/article/details/5459850</guid><author>Explorer_learner</author><pubDate>Wed, 07 Apr 2010 21:37:00 +0800</pubDate><description><![CDATA[今天开始写双装备了，一直觉得写的差不多了，结果写了一半，发现，因为之前的设计中完全没有考虑到这种模式的双装备设计，导致，得大量改动道具系统的逻辑，哎异常悲剧，本来道具系统就被折腾的挺混乱，现在....头大中...更头大的是，怎么重现角色和宠物没有删除区域数据，恩！ 不过更让我坚定了，一定要去重构宠物系统的决心。]]></description><category></category></item><item><title><![CDATA[关于map的count和find的效率以及空类调用效率（一）]]></title><link>https://blog.youkuaiyun.com/Explorer_learner/article/details/5456296</link><guid>https://blog.youkuaiyun.com/Explorer_learner/article/details/5456296</guid><author>Explorer_learner</author><pubDate>Tue, 06 Apr 2010 22:53:00 +0800</pubDate><description><![CDATA[    前两天为了写敏感词过滤，用了multimap数据结构来存敏感词，结果发现效率上面其实不是很理想。    后来简单测了一下，发现主要是multimap的find和count的效率是相当的低，（一直以为对于map来说，find和count的效率应该不错的）。数据大致如下：         对于9833bytes目标数据，681条样本数据的map，进行6678400次循环，count大约]]></description><category></category></item></channel></rss>