Comment by thayne

Comment by thayne 3 days ago

2 replies

That article is about how defaults for arguments are evaluated eagerly. It doesn't real have to do with dict vs {}.

However, using the literal syntax does seem to be more efficient. So that is an argument for having dedicated syntax for an empty set.

mickeyp 3 days ago

I am not replying to the article but to the poster.

  • thayne 2 days ago

    I am talking about the article you linked to in your comment.