Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Python 3.10 Match statements are 86% faster than If statements
(
twitter.com/anthonypjshaw
)
3 points
by
azhenley
on May 17, 2022
|
hide
|
past
|
favorite
|
2 comments
stevefolta
on May 17, 2022
[–]
Wait, is "match" gonna be a reserved word now? 'Cause I use it as a variable name all the time when dealing with regexes.
dpausp
on May 26, 2022
|
parent
[–]
You can still use it as a variable name, match and case are just "soft" keywords.
https://lwn.net/Articles/893193/
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: