01 2018 档案

摘要:NodeJS适合运用在高并发、I/O密集、少量业务逻辑的场景。 node.js 为异步而生,这一点毫无疑问,但是在 CPU 和内存发面,要远远落后于 C/C++ 和 Java。特别是对于海量请求的场景,CPU 飙高,内存 GC 缓慢居高不下 来源:https://www.zhihu.com/ques 阅读全文
posted @ 2018-01-27 15:22 lijun8637 阅读(22848) 评论(0) 推荐(2)
摘要:一、事件定义及分类 1. click事件 单击事件,类似于PC端的click,但在移动端中,连续click的触发有200ms ~ 300ms的延迟 2. touch类事件 触摸事件,有touchstart touchmove touchend touchcancel 四种之分 touchstart: 阅读全文
posted @ 2018-01-25 15:54 lijun8637 阅读(849) 评论(0) 推荐(0)
摘要:/*var str = 'this is test string <img src="http:yourweb.com/test.jpg" width="50" > 123 and the end <img src="所有地址也能匹配.jpg" /> 33! <img src="/uploads/a 阅读全文
posted @ 2018-01-12 09:57 lijun8637 阅读(664) 评论(0) 推荐(0)