Balancer: cache BalanceStack::currentNode()
authorTim Starling <tstarling@wikimedia.org>
Tue, 5 Jul 2016 02:50:24 +0000 (12:50 +1000)
committerTim Starling <tstarling@wikimedia.org>
Tue, 12 Jul 2016 04:18:04 +0000 (14:18 +1000)
commit1619e5191f160a30819f724407bb2ba470460d6e
tree6272548866871f5a131948a415b407a53a89a2a4
parent5726c9ceb0644af360d37b86351b97ddfcbee20c
Balancer: cache BalanceStack::currentNode()

Make currentNode into a public property instead of a function call, for
a performance improvement of about 4%.

Change-Id: I89861557531c55a63abef52c0acabbfb5c155bda
includes/tidy/Balancer.php