Skip to content

Commit 2c7311b

Browse files
authored
Merge pull request #65 from dtolnay/up
Sync algorithm from rust-lang/rust master
2 parents 78cc52f + bb76a9c commit 2c7311b

File tree

6 files changed

+303
-209
lines changed

6 files changed

+303
-209
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ penalty of going through [`core::fmt::Formatter`].
1212

1313
See also [`ryu`] for printing floating point primitives.
1414

15-
[libcore]: https://github.com/rust-lang/rust/blob/b8214dc6c6fc20d0a660fb5700dca9ebf51ebe89/src/libcore/fmt/num.rs#L201-L254
15+
[libcore]: https://github.com/rust-lang/rust/blob/1.92.0/library/core/src/fmt/num.rs#L190-L253
1616
[`core::fmt::Formatter`]: https://doc.rust-lang.org/std/fmt/struct.Formatter.html
1717
[`ryu`]: https://github.com/dtolnay/ryu
1818

chart/performance.tex

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,23 +57,23 @@
5757
area legend,
5858
nodes near coords={},
5959
] coordinates {
60-
(0, 1.3)
61-
(1, 1.2)
62-
(2, 3.2)
63-
(3, 4.4)
64-
(4, 9.1)
60+
(0, 2.0)
61+
(1, 2.4)
62+
(2, 3.4)
63+
(3, 4.7)
64+
(4, 8.6)
6565
};
6666
\addplot[
6767
black,
6868
fill=std,
6969
area legend,
7070
nodes near coords=\pgfmathsetmacro{\input}{{\entries}[\coordindex]}\input,
7171
] coordinates {
72-
(0, 22)
73-
(1, 22)
74-
(2, 29)
75-
(3, 27)
76-
(4, 34)
72+
(0, 19)
73+
(1, 19)
74+
(2, 24)
75+
(3, 24)
76+
(4, 31)
7777
};
7878
\end{axis}
7979
\pgfresetboundingbox\path

performance.png

-1.74 KB
Loading

0 commit comments

Comments
 (0)