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 bdcd082 commit aa9f4b2Copy full SHA for aa9f4b2
go/analysis/doc.go
@@ -244,6 +244,9 @@ if the default encoding is unsuitable. Facts should be stateless.
244
Because serialized facts may appear within build outputs, the gob encoding
245
of a fact must be deterministic, to avoid spurious cache misses in
246
build systems that use content-addressable caches.
247
+The driver makes a single call to the gob encoder for all facts
248
+exported by a given analysis pass, so that the topology of
249
+shared data structures referenced by multiple facts is preserved.
250
251
The Pass type has functions to import and export facts,
252
associated either with an object or with a package:
0 commit comments