mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-08-17 10:30:32 +03:00
metro-buck: only uses object to store modules
Summary: MobileLab seems to point out that just using an object yields the same performance, but smaller memory usage: https://our.intern.facebook.com/intern/fblearner/details/89442096/. Plus, it simplifies the code. Reviewed By: fromcelticpark Differential Revision: D13450992 fbshipit-source-id: 87afccfbebdc533801f52cff367cf517611b4317
This commit is contained in:
parent
3ceb537dca
commit
b96c110952
@ -48,7 +48,6 @@ module.exports = {
|
|||||||
fbt: true,
|
fbt: true,
|
||||||
requireWeak: true,
|
requireWeak: true,
|
||||||
xuiglyph: true,
|
xuiglyph: true,
|
||||||
__NUM_MODULES__: true,
|
|
||||||
DebuggerInternal: true,
|
DebuggerInternal: true,
|
||||||
define: true,
|
define: true,
|
||||||
// React
|
// React
|
||||||
|
Loading…
Reference in New Issue
Block a user