Skip to content

Comments

Remove unneccsary array allocation#192

Merged
andralex merged 2 commits intodlang:masterfrom
wilzbach:remove-allocation
Aug 26, 2016
Merged

Remove unneccsary array allocation#192
andralex merged 2 commits intodlang:masterfrom
wilzbach:remove-allocation

Conversation

@wilzbach
Copy link
Contributor

This immediately jumped into by eye during the discussion and review at #191. We only iterate once through the collection.

@dlang-bot
Copy link
Contributor

@wilzbach, thanks for your PR! By analyzing the annotation information on this pull request, we identified @andralex, @CyberShadow and @leandro-lucarella-sociomantic to be potential reviewers. @andralex: The PR was automatically assigned to you, please reassign it if you were identified mistakenly.

(The DLang Bot is under development. If you experience any issues, please open an issue at its repo.)

rdmd.d Outdated
bool anyNewerThan(T)(T files, SysTime t)
{
// Experimental: running newerThan in separate threads, one per file
if (false)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw it seems that this experiment is "over" and parallel compilation is now enabled by default. Should we remove the old cold?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yah thx

@wilzbach
Copy link
Contributor Author

As this is just a code cleanup - should we wait with this until I/we have enabled the rdmd testsuite on Travis?

@andralex
Copy link
Member

eh, we should be fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants