Skip to content
#

hhvm

Here are 144 public repositories matching this topic...

fredemmott
fredemmott commented Oct 23, 2020

I wanted to optimize Node::getWidth() by using the $this->sourceRef['width'] when available; this doesn't match:

diff --git a/src/nodes/Node.hack b/src/nodes/Node.hack
index 36135d86..0e7346f5 100644
--- a/src/nodes/Node.hack
+++ b/src/nodes/Node.hack
@@ -103,6 +103,15 @@ abstract class Node implements IMemoizeParam {
         $width += $node->getWidth();
       }
       $this->

Improve this page

Add a description, image, and links to the hhvm topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the hhvm topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.