We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b155480 commit 52b9c68Copy full SHA for 52b9c68
go/ast/inspector/inspector.go
@@ -85,6 +85,7 @@ type event struct {
85
86
// TODO: Experiment with storing only the second word of event.node (unsafe.Pointer).
87
// Type can be recovered from the sole bit in typ.
88
+// [Tried this, wasn't faster. --adonovan]
89
90
// Preorder visits all the nodes of the files supplied to New in
91
// depth-first order. It calls f(n) for each node n before it visits
go/ast/inspector/typeof.go
@@ -12,8 +12,6 @@ package inspector
12
import (
13
"go/ast"
14
"math"
15
-
16
- _ "unsafe"
17
)
18
19
const (
0 commit comments