-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Commit 07de7a4
committed
Pre-intern name when searching module children
This avoids a good deal of work, since each module child can now just be
compared via u32 comparison, rather than fetching the raw &str
(requiring locking and indexing into the interner) and then comparing
the two strings (also relatively expensive).1 parent ccbfe50 commit 07de7a4
1 file changed
+2
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 | + | ||
41 | 42 |
| |
42 | 43 |
| |
43 | - | ||
44 | + | ||
44 | 45 |
| |
45 | 46 |
| |
46 | 47 |
| |
|
0 commit comments