mirror of
https://github.com/status-im/metro.git
synced 2025-02-12 11:07:42 +00:00
Jean Lauliac
8d34f16a70
packager: index files by dir for fast matching
Summary: This removes the call to `HasteFS#matchFiles()`, that has linear complexity. Instead, we index all the files by directory from `HasteFS` once loaded, a linear operation. Then, we can filter files from a particular directory much quicker. Reviewed By: davidaurelio Differential Revision: D4826721 fbshipit-source-id: c31a0ed9a354dbc7f2dcd56179b859e491faa16c
metro-bundler
The JavaScript bundler for React Native
Description
Languages
JavaScript
100%