terraform/plans
Alisdair McDiarmid a43b035a51 core: Reduce string allocations for addrs Equal
Generating strings and comparing them to implement Equal is a quick and
easy solution. Unfortunately when this code is in the hot path, it
becomes very expensive, so this commit changes some of those instances
to compare the values directly.

Combined with using addr.Equal instead of checking for string equality,
this makes Terraform dramatically faster for some operations, such as
generating large JSON plans.
2021-03-05 13:23:32 -05:00
..
internal/planproto regenerate the plans proto with current tooling 2020-12-01 14:07:15 -05:00
objchange catch invalidly planned attributes earlier 2021-02-24 12:13:12 -05:00
planfile plans/planfile: staticcheck 2020-12-02 13:59:19 -05:00
action.go Version tools per Go convention under tools.go 2019-10-17 22:23:39 +02:00
action_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
changes.go core: Reduce string allocations for addrs Equal 2021-03-05 13:23:32 -05:00
changes_src.go Updates and improvements to comments 2020-09-11 11:15:44 -04:00
changes_state.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
changes_sync.go s/FullDestroy/IsFullDdestroy/ 2020-10-05 10:50:25 -04:00
doc.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
dynamic_value.go Use UnmarkDeepWithPaths and MarkWithPaths 2020-09-10 11:04:17 -04:00
plan.go add state to plans.Plan 2020-09-17 09:54:59 -04:00
plan_test.go don't render plan for module outputs 2020-11-17 09:31:18 -05:00