This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Remove or cache some unnecessary allocations#12
Closed
stephentoub wants to merge 1 commit intodotnet:masterfrom
stephentoub:master
Closed
Remove or cache some unnecessary allocations#12stephentoub wants to merge 1 commit intodotnet:masterfrom stephentoub:master
stephentoub wants to merge 1 commit intodotnet:masterfrom
stephentoub:master
Conversation
Member
Author
|
ps In the case of the loop around SetValue, I contemplated adding if checks to avoid the allocation in the case where the collection being copied from is empty. I'd initially opted not to, under the assumption that copying from an empty collection using ICollection.CopyTo is uncommon. But looking at it again I think I will. Closing the pull request; I'll reissue it. |
pgavlin
pushed a commit
to pgavlin/corefx
that referenced
this pull request
Sep 8, 2015
Code changes coming from Project K
Olafski
pushed a commit
to Olafski/corefx
that referenced
this pull request
Jun 15, 2017
This commit fixes dotnet#11 - Add getting started links to readme.md
ravimeda
added a commit
that referenced
this pull request
Jun 16, 2017
* Create root and windows definition. * Include PB_ prefix. * Remove variables whose values will be in PB. * Remove unnecessary tasks. * Update path property. * Add OSX leg. * Remove triggers. * Remove PB variables. * Remove OSX leg since there is no TSA support. * Remove CodeMetrics. * Pass official build number as PB variable. * Invoke sync.cmd directly. * Update arguments passed to security tools. (#11) * Minor fixes to arguments passed, and variable names. (#12) * Remove folders other than security. * Update args for BinSkim. * Cleanup scripts. * Fix APIScan args. * Update task names. * Update PB variable name. * Do delete .txt files. Version.txt is needed. * Set symbolsFolder for APIScan. * Update git checkout task. * Add a test task that will be removed before merge. * Add PB_Git variable. * Update Git path. * Revert to PB_Git. * Remove test task.
Member
|
@Anipik one more ... just FYI |
picenka21
pushed a commit
to picenka21/runtime
that referenced
this pull request
Feb 18, 2022
* Create root and windows definition. * Include PB_ prefix. * Remove variables whose values will be in PB. * Remove unnecessary tasks. * Update path property. * Add OSX leg. * Remove triggers. * Remove PB variables. * Remove OSX leg since there is no TSA support. * Remove CodeMetrics. * Pass official build number as PB variable. * Invoke sync.cmd directly. * Update arguments passed to security tools. (dotnet/corefx#11) * Minor fixes to arguments passed, and variable names. (dotnet/corefx#12) * Remove folders other than security. * Update args for BinSkim. * Cleanup scripts. * Fix APIScan args. * Update task names. * Update PB variable name. * Do delete .txt files. Version.txt is needed. * Set symbolsFolder for APIScan. * Update git checkout task. * Add a test task that will be removed before merge. * Add PB_Git variable. * Update Git path. * Revert to PB_Git. * Remove test task. Commit migrated from dotnet/corefx@114dc02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I noticed a few places where allocations were occurring unnecessary: