Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
3.4.0
-
None
Description
In ResourceAllocator, we can use `.getOrElse(address, throw new SparkException(...))` instead of one `contains` which can gain better performance.