看到一遍文章When innerHTML isn’t Fast Enough,反应了innerHTML在操作量大了以后的性能下降的问题。
并且给出了一个replaceHTML的函数
function replaceHtml(el, html) {
var oldEl = typeof el === "string" ? document.getElementById(el) : el;
/*@cc_on // Pure innerHTML is slightly faster in IE
oldEl.innerHTML = html;
return oldEl;
@*/ ...
emesene is an OS independent MSN Messenger client writed in python and GTK. The main idea is to make a client similar to the official MSN Messenger client but kepping it simple and with a nice GUI.
emesene的界面和M$的MSN Messenger的界面非常相似,可以发送闪屏振动,并且支持离线消息。比Pidgin功能多一些,但是好像不能传文件。
下载地址:http://www.getdeb ...
- 22:32
- 浏览 (296)
- 评论 (0)
- 分类: UBUNTU
- 发布在 Ubuntu For Fun 圈子
按照网站提供的manual中的A Quick Tour of MG4J完成。
在mg4j的官方网站下载binary tarball和dependencies tarball,解压在本地硬盘。
以搜索mg4j的javadoc文档为例,
首先为要搜索的文件建立一个collection
java it.unimi.dsi.mg4j.document.FileSetDocumentCollection -f HtmlDocumentFactory
-p encoding=UTF-8 javadoc.collection D:\MG4J\mg4j-2.1.1-bin\mg4j-2.1.1\ ...
MG4J (Managing Gigabytes for Java) is a free full-text search engine for large document collections written in Java.
The main points of MG4J are:
* Powerful indexing. Support for document collections and factories makes it possible to analyse, index and query consistently large document collec ...
- 浏览: 7726 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
最近加入圈子
链接
最新评论
-
Spring2结合DWR2的用户注 ...
javaprograms看看是不是你的dwr的包的版本不对呢
-- by lveyo -
Spring2结合DWR2的用户注 ...
哈哈,好啊
-- by kjj -
Spring2结合DWR2的用户注 ...
严重: Context initialization failed org.sp ...
-- by javaprograms -
innerHTML的性能问题
hax我看了你的分析文章,我也是用到的时候才发现老外的那篇文章的,也没想去研究为 ...
-- by lveyo -
innerHTML的性能问题
对于返回的 element 使用后是不是需要手动的delete掉? 否则会不会有 ...
-- by myreligion






评论排行榜