mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2025-08-12 09:51:59 +00:00
batch replace escape
This commit is contained in:
@@ -106,7 +106,7 @@ func Benchmark1000(b *testing.B) { benchmark(b, 1000) }
|
||||
|
||||
**练习 11.6:** 为2.6.2节的练习2.4和练习2.5的PopCount函数编写基准测试。看看基于表格算法在不同情况下对提升性能会有多大帮助。
|
||||
|
||||
**练习 11.7:** 为\*IntSet(§6.5)的Add、UnionWith和其他方法编写基准测试,使用大量随机输入。你可以让这些方法跑多快?选择字的大小对于性能的影响如何?IntSet和基于内建map的实现相比有多快?
|
||||
**练习 11.7:** 为`*IntSet`(§6.5)的Add、UnionWith和其他方法编写基准测试,使用大量随机输入。你可以让这些方法跑多快?选择字的大小对于性能的影响如何?IntSet和基于内建map的实现相比有多快?
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user