xushimin
xushimin
显然,从p+c这一点开始,慢指针再走n步,必然还会回到这个点。为啥?【因为经过了2n步,快指针到达了这一点,所以慢指针如果再走n步,也会到达这一点】 这个推理完全没有看懂,查阅了资料,这个是Floyd判圈算法(Floyd Cycle Detection Algorithm),又称龟兔赛跑算法(Tortoise and Hare Algorithm);所以你上面的解释相当于去证明Floyd判圈算法有效性?
看看是不是使用了lable标签,其中有一个属性是for,在firefox会去找for属性的值id,如果把for属性去掉则不会出现相关问题
图片填充是将整个地图都进行填充,不是特定区域,所以看起来是模糊的,但是也不知道整个地图填充的规律是什么
same for me
 e.target.dataType 为undefined
``` 无其他代码的空白html循环requestAnimationFrame测试 function _startLoop() { function step() { requestAnimationFrame(step); } requestAnimationFrame(step); } _startLoop() ``` 你可以看看这种情况的requestAnimationFrame占用,已经有4%-5%了
定时Animation Step大概会暂用cpu 7%-8%,跟页面是否有其他元素没有关系
this link may not up to date, because when using code like this: var gifFrames = require('gif-frames'); i can get frameInfo both nodejs and chrome browser