Skip to content

v0.12.0

Compare
Choose a tag to compare
@jhump jhump released this 22 Apr 19:55
· 112 commits to main since this release
016b009

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-asserting ast.Node values to ast.NoSourceNode. The change was made because of non-trivial performance gains, by greatly reducing the number of NoSourceNode values that need to be allocated on the heap when working with a parser.Result that has no AST.

Full Changelog: v0.11.0...v0.12.0