Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3373744
D9647.id32532.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
437 B
Referenced Files
None
Subscribers
None
D9647.id32532.diff
View Options
diff --git a/lib/shared/radix-tree.js b/lib/shared/radix-tree.js
--- a/lib/shared/radix-tree.js
+++ b/lib/shared/radix-tree.js
@@ -137,7 +137,7 @@
let partLeft = key;
while (node && partLeft.startsWith(node.part)) {
if (node.leaf) {
- return [...new Set(node.values)];
+ return [...node.values];
}
partLeft = partLeft.substring(node.part.length);
const firstChar = partLeft[0] ?? '';
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 27, 11:37 AM (21 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2590305
Default Alt Text
D9647.id32532.diff (437 B)
Attached To
Mode
D9647: [lib] Avoid unnecessary Set construction in RadixTree.getAllMatchingExactly
Attached
Detach File
Event Timeline
Log In to Comment