Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0b430d4

Browse files
Update why-is-printing-b-dramatically-slower-than-printing.md
1 parent 1032374 commit 0b430d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎contents/why-is-printing-b-dramatically-slower-than-printing.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ for (int i = 0; i < 1000; i++) {
4040
另外有些人指出在他们那里工作正常(即两者花费时间差不错--译者注),我在[Ideone.com](http://ideone.com/)环境中运行两段代码,执行时间也差不多。
4141

4242
测试条件:
43-
1.Netbeans 7.2,结果输出在IDE的控制台
44-
2.使用```System.nanoTime()```度量时间
43+
-Netbeans 7.2,结果输出在IDE的控制台
44+
-使用`System.nanoTime()`度量时间
4545

4646

4747
###回答
@@ -55,8 +55,8 @@ for (int i = 0; i < 1000; i++) {
5555
对于"word-wrapping""character-wrapping",我的理解是,换行时不在一个单词内部分割,例如需要在 charac-ter 中的-处换行,"word-wrapping"会将 character 全部移到下一行,
5656
"character-wrapping"则将ter移到下一行,而charac依旧在原来的位置
5757
"word-wrapping"
58-
`*******
58+
`*******
5959
character`
6060
"character-wrapping"
61-
`*******charac
61+
`*******charac
6262
ter`

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /