Sub-patterns may be processed in parallel

Fixes #1517
This commit is contained in:
Guido van Rossum 2020-07-09 17:33:01 -07:00
parent a2e4fc9aed
commit f43058cab2
1 changed files with 1 additions and 1 deletions

View File

@ -1202,7 +1202,7 @@ This is not the only possible strategy, nor is it necessarily the best.
For example, the instance checks could be memoized, especially
if there are multiple instances of the same class type but with different
arguments in a single match statement. It is also theoretically
possible for a future implementation to process the case clauses in
possible for a future implementation to process case clauses or sub-patterns in
parallel using a decision tree rather than testing them one by one.