分析优化 channel 接口用时

This commit is contained in:
2025-04-01 10:51:32 +08:00
parent 47bb49ce70
commit 6d89470a89
7 changed files with 156 additions and 35 deletions

View File

@@ -1,11 +1,5 @@
package main
import "math"
var b62Set = make(map[string]struct{})
var b64Set = make(map[string]struct{})
func main() {
println(int(math.Ceil(100 * 1.1)))
println(int(math.Ceil(float64(100) * 1.1)))
println(float64(166) * 11 / 10)
}