yiqunz

yiqunz

V2EX member #431346, joined on 2019-07-23 13:47:08 +08:00
Per yiqunz's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
yiqunz's recent replies
@oneisall8955 麦当劳可以么
@aikilan 之前是没有问题的。已经试过很多版本了。比较神奇的是火狐也不行
@a33291 没看到对应的错误
Oct 20, 2022
Replied to a topic by peterrika 问与答 求推荐新手羽毛球拍
100ZZ /doge
Sep 19, 2022
Replied to a topic by jiobanma VPS ios 除了小火箭还有其他好用的吗
好巧,周末问客服要的共享账户登不上去。
于是自己买了小火箭。美区 2.99 刀 用 gift 卡 20+rmb
Sep 5, 2022
Replied to a topic by CodeXx Java 发现一个 Java 代码耗时统计的问题
``` java
public static void main(String[] args) throws InterruptedException {
int times = 10;
long[] s1 = new long[times];
long[] s2 = new long[times];
long start = System.currentTimeMillis();
for (int i = 0; i < times; i++) {
s1[i] = System.currentTimeMillis();
Thread.sleep(10);
s2[i] = System.currentTimeMillis();
}
long end = System.currentTimeMillis();
System.out.println(end - start);
long all = 0;
for (int i = 0; i < times; i++) {
System.out.println(s2[i] - s1[i]);
all += s2[i] - s1[i];
}
System.out.println(all);
}

```
实测就是相同的
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2895 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 15:38 · PVG 23:38 · LAX 08:38 · JFK 11:38
♥ Do have faith in what you're doing.