marination 2de2491e17 perf: get_next_higher_level_boms
- Separate getting dependants and checking if they are valid (loop within loop led to redundant processing that slowed down function)
- Adding to above, the same dependant(parent) was repeatedly processed as many children shared it. Expensive.
- Use a parent-child map similar to child-parent map to check if all children are resolved
- `map.get()` reduced time: 10 mins -> 0.9s~1 second (as compared to `get_cached_doc` or query)
- Total time: 17 seconds to process 6599 leaf boms and 4.2L parent boms
- Previous Total time: >10 mins (I terminated it due to not wanting to waste time XD)
2022-05-27 20:33:14 +05:30
..
2022-03-28 18:52:46 +05:30
2022-04-28 12:02:54 +05:30
2022-05-16 15:50:04 +05:30
2022-04-29 12:42:29 +05:30
2022-03-28 18:52:46 +05:30
2022-04-28 10:41:30 +05:30
2022-05-15 20:42:34 +05:30
2022-03-28 18:52:46 +05:30
2022-05-25 11:21:01 +05:30
2022-04-28 12:02:54 +05:30