Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a closure to define the function. Then the var is evaluated when the closure is defined. This can avoid recomputing the parameter. Signed-off-by: Changlei Li <[email protected]>
- Loading branch information