File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ void SkipWhitespace(InputStream& is) {
248
248
249
249
## 整数到字符串的转换 {#itoa}
250
250
251
- 整数到字符串转换的朴素算法需要对每一个十进制位进行一次处罚 。我们实现了若干版本并在 [itoa-benchmark](https://github.com/miloyip/itoa-benchmark) 中对它们进行了评估。
251
+ 整数到字符串转换的朴素算法需要对每一个十进制位进行一次除法 。我们实现了若干版本并在 [itoa-benchmark](https://github.com/miloyip/itoa-benchmark) 中对它们进行了评估。
252
252
253
253
虽然 SSE2 版本是最快的,但它和第二快的 `branchlut` 差距不大。而且 `branchlut` 是纯C++实现,所以我们在 RapidJSON 中使用了 `branchlut`。
254
254
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ void main() {
91
91
}
92
92
~~~~~~~~~~
93
93
94
- 注意 RapidJSON 使用模板去静态挷定 `Reader` 类型及处理器的类形 ,而不是使用含虚函数的类。这个范式可以通过把函数内联而改善性能。
94
+ 注意 RapidJSON 使用模板去静态挷定 `Reader` 类型及处理器的类型 ,而不是使用含虚函数的类。这个范式可以通过把函数内联而改善性能。
95
95
96
96
## 处理器 {#Handler}
97
97
You can’t perform that action at this time.
0 commit comments