-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some minor perf improvements #16941
Some minor perf improvements #16941
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,11 +54,12 @@ module AttributeHelpers = | |
| Some(Attrib(_, _, [ AttribBoolArg p ], _, _, _, _)) -> Some p | ||
| _ -> None | ||
|
||
[<return: Struct>] | ||
let (|ILVersion|_|) (versionString: string) = | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are covered in @psfinaki PR likely, and we decided to wait with changes for a bit, since we already have some SO reports in compiler and those need careful verification. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reason to postpone it is here: #16316 (comment) |
||
try | ||
Some(parseILVersion versionString) | ||
ValueSome(parseILVersion versionString) | ||
with e -> | ||
None | ||
ValueNone | ||
|
||
//---------------------------------------------------------------------------- | ||
// ValidateKeySigningAttributes, GetStrongNameSigner | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isNotNull
?fsharp/src/Compiler/Utilities/illib.fs
Line 88 in 890e6e1