As shown in bug 1012456 comment 39, computing edge names eagerly can be quite expensive, and not all applications of ubi::Node need edge names. ubi::Node::edges and ubi::BreadthFirst should let you specify whether or not you want edge names.
Created attachment 8470364 [details] [diff] [review] Let users tell ubi::Edge not to provide edge names, as they're expensive to compute, and not everyone needs them.
An earlier patch failed the SpiderMonkey style checker; trying again: https://tbpl.mozilla.org/?tree=Try&rev=40b12fea0f98
Attachment #8470364 - Flags: review?(terrence) → review+
Target Milestone: --- → mozilla34
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.