pot
pot copied to clipboard
perf: Improve time complexity for `find_or_add`
In turbopack, we serialize some large types using pot. The time complexity of addition is O(log N) for lookup and O(N) for insertion. I want to check if it is possible to improve it.