My question is related to the computational complexity of Set / Map polynomials, Weak Set / Weak Map by Babel? Afaik does not have ES5 language functions that allow you to directly implement Set / Map, and therefore there may be a situation where Set / Map can use the Array structure under the hood to implement an object link search, which will lead to O (N) search performance. And here is the question:
What is the computational complexity of Set / Map searches?
Thank you in advance!
source share