v0.12.0
This release mostly contains performance improvements. It also includes an addition that makes it possible to implement a descriptor resolver on top of linker.Files
much more efficiently, using a *linker.Symbols
as an index.
What's Changed
Enhancements
- Add lookup methods to
*linker.Symbols
by @jhump in #286 - Various performance improvements (mostly reducing allocations) in the linker by @jhump in #286, #287, #290, and #291
Other changes
- Disallow options that use message-set-wire-format if Protobuf runtime can't support them by @jhump in #284
- Changes
ast.NoSourceNode
so that its methods now require a pointer receiver by @jhump in #291- This is a backwards-incompatible change. The impact should be low (likely even zero) since most users of this module will not be directly constructing
ast.NoSourceNode
values or type-assertingast.Node
values toast.NoSourceNode
. The change was made because of non-trivial performance gains, by greatly reducing the number ofNoSourceNode
values that need to be allocated on the heap when working with aparser.Result
that has no AST.
- This is a backwards-incompatible change. The impact should be low (likely even zero) since most users of this module will not be directly constructing
Full Changelog: v0.11.0...v0.12.0