pulumi/pkg/codegen/hcl2/model
Pat Gavlin 9b23badedd
[codegen/hcl2] Improve ConversionFrom perf. (#7545)
- Lazily produce conversion failure diagnostics. This lowers the
  allocation volume and cuts down on execution time by avoiding the
  conversion of source and dest types to strings.
- Add a fast path for union conversions that checks if the source type
  is identical to any of the union's element types. Type equality
  checks are generally much faster than type conversion checks.

These changes lead to a significant speedup in codegen time in
azure-native.
2021-07-16 09:56:26 -07:00
..
format [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
attribute.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
binder_expression.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
binder_expression_test.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
block.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
body.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
diagnostics.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
expression.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
functions.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
print_test.go [hcl2] Fix tokenless body item printing. (#4974) 2020-07-07 13:46:26 -07:00
printer.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
scope.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
spec.md Add an HCL2 static typechecker and semantic model. (#4087) 2020-03-18 09:28:57 -07:00
traversable.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
type.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_collection.go HCL2 updates (#4309) 2020-04-06 19:43:16 -07:00
type_const.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_eventuals.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_list.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_map.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_none.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_object.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_opaque.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_output.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_promise.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_scope.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
type_set.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_test.go Avoid stack overflow in Azure NextGen program examples 2021-02-04 15:44:20 +01:00
type_tuple.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_union.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
utilities.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
visitor.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00