2019-01-04 00:35:01 +01:00
|
|
|
# Efficent Formatting
|
|
|
|
|
|
|
|
## Summary
|
2019-01-04 00:45:39 +01:00
|
|
|
This combination of features will allow for effecient and customizable formatting of `string` values.
|
2019-01-04 00:35:01 +01:00
|
|
|
|
|
|
|
## Motivation
|
2019-01-04 00:45:39 +01:00
|
|
|
The allocation of `string` and `params` values dominates the performance of many text based applications like MSBuild.
|
|
|
|
In order to efficiently
|
2019-01-04 00:35:01 +01:00
|
|
|
|
|
|
|
## Detailed Design
|
|
|
|
|
2019-01-04 00:45:39 +01:00
|
|
|
### params Span
|
2019-01-04 00:35:01 +01:00
|
|
|
|
2019-01-04 00:45:39 +01:00
|
|
|
### params IEnumerable
|
|
|
|
|
|
|
|
### Customize interopolated strings
|
|
|
|
|
|
|
|
### Variant type
|
2019-01-04 00:35:01 +01:00
|
|
|
|
|
|
|
## Open Issuess
|
|
|
|
|
|
|
|
### consideration 1
|
|
|
|
|
|
|
|
## Considerations
|
|
|
|
|
|
|
|
### consideration 1
|
|
|
|
## Future Considerations
|
2019-01-04 00:45:39 +01:00
|
|
|
|
|
|
|
CLR helper for stack allocating arrays
|
|
|
|
|
|
|
|
## Misc
|
|
|
|
Related issues
|
|
|
|
- https://github.com/dotnet/csharplang/issues/1757
|
|
|
|
- https://github.com/dotnet/csharplang/issues/179
|
|
|
|
|
|
|
|
|