Refactoring app build #225

Merged
merged 2 commits into from Oct 5, 2011

Projects

None yet

2 participants

@basuke
Contributor
basuke commented Oct 5, 2011
  • cleaner code.
  • reduce call of array_values and array_unique.
  • clear intent of code.

Bypass unnecessary foreach loop to improve speed when $paths is empty.

basuke added some commits Oct 5, 2011
@basuke basuke Bypass unnecessary foreach loop when $paths is empty to improve speed. 810e2a4
@basuke basuke Refactoring: clean up the foreach loop.
- cleaner code.
- reduce call of array_values and array_unique.
- clear intent of code.
fbf4449
Contributor
basuke commented Oct 5, 2011
$ lib/Cake/Console/cake testsuite core Core/App

Welcome to CakePHP v2.0.0-RC3 Console
---------------------------------------------------------------
App : app
Path: /Users/basuke/work/cake2/app/
---------------------------------------------------------------
CakePHP Test Shell
---------------------------------------------------------------
PHPUnit 3.5.14 by Sebastian Bergmann.

.......................

Time: 1 second, Memory: 17.25Mb

OK (23 tests, 160 assertions)
Owner
lorenzo commented Oct 5, 2011

Thanks!

@lorenzo lorenzo merged commit fbf4449 into cakephp:2.0 Oct 5, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment