Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Improve performance of folder hashing #8856

Merged
merged 3 commits into from
Feb 22, 2018

Conversation

ausi
Copy link
Member

@ausi ausi commented Feb 19, 2018

As discussed in #8798

{
while ($objChildren->next())
{
$arrHash[] = $objChildren->hash . $objChildren->name;
Copy link
Member

Choose a reason for hiding this comment

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

Any particular reason why you have not added a separator here?

Copy link
Member Author

Choose a reason for hiding this comment

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

The hash has always the same length, so there is no need for a seperator.

@leofeyer leofeyer merged commit da913c9 into contao:3.5 Feb 22, 2018
@leofeyer
Copy link
Member

Thank you @ausi. This is great!

leofeyer added a commit to contao/core-bundle that referenced this pull request Feb 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants