Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
R
rapidjson
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
rapidjson
Commits
5592c2ee
Unverified
Commit
5592c2ee
authored
Oct 08, 2019
by
Milo Yip
Committed by
GitHub
Oct 08, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1544 from fredgan/master
修复文档中的错误
parents
d67a69a9
39db1177
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
internals.zh-cn.md
doc/internals.zh-cn.md
+1
-1
sax.zh-cn.md
doc/sax.zh-cn.md
+1
-1
No files found.
doc/internals.zh-cn.md
View file @
5592c2ee
...
...
@@ -248,7 +248,7 @@ void SkipWhitespace(InputStream& is) {
## 整数到字符串的转换 {#itoa}
整数到字符串转换的朴素算法需要对每一个十进制位进行一次
处罚
。我们实现了若干版本并在
[
itoa-benchmark
](
https://github.com/miloyip/itoa-benchmark
)
中对它们进行了评估。
整数到字符串转换的朴素算法需要对每一个十进制位进行一次
除法
。我们实现了若干版本并在
[
itoa-benchmark
](
https://github.com/miloyip/itoa-benchmark
)
中对它们进行了评估。
虽然 SSE2 版本是最快的,但它和第二快的
`branchlut`
差距不大。而且
`branchlut`
是纯C++实现,所以我们在 RapidJSON 中使用了
`branchlut`
。
...
...
doc/sax.zh-cn.md
View file @
5592c2ee
...
...
@@ -91,7 +91,7 @@ void main() {
}
~~~
~~~~~~~
注意 RapidJSON 使用模板去静态挷定
`Reader`
类型及处理器的类
形
,而不是使用含虚函数的类。这个范式可以通过把函数内联而改善性能。
注意 RapidJSON 使用模板去静态挷定
`Reader`
类型及处理器的类
型
,而不是使用含虚函数的类。这个范式可以通过把函数内联而改善性能。
## 处理器 {#Handler}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment