Summary: This diff fixes inefficient config impact data checking. Problem: When writing `config-impact-report.json`, it checks if a procedure (`f`) is included in the config impact data set as follows. `cut_parameter` is a function that removes parameters from ObjC method names. ``` ConfigProcnameSet.exists (fun g -> cut_parameter f = cut_parameter g) config_data ``` However, this was very inefficient because it must have iterated all members in the set always. This diff changes it to call `Set.mem` by preparing revised config impact data set (`config_data'`) in which parameters were cut in advance: ``` ConfigProcnameSet.mem (cut_parameter f) config_data' ``` Reviewed By: ezgicicek Differential Revision: D28506113 fbshipit-source-id: 434d1f083master
parent
bf8bc66707
commit
903106b298
Loading…
Reference in new issue