You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thread just mentions this construct[*x] as opposed to just calling list(x). Not only is the later more readable, I would assume it's more efficient because lack of arg unpack (we should benchmark it though)? You may want to add a rule to flag this weird construct.
The text was updated successfully, but these errors were encountered:
Description
Saw this is in a discussion on RUFF: astral-sh/ruff#7618
Thread just mentions this construct
[*x]
as opposed to just callinglist(x)
. Not only is the later more readable, I would assume it's more efficient because lack of arg unpack (we should benchmark it though)? You may want to add a rule to flag this weird construct.The text was updated successfully, but these errors were encountered: