4 ms·
> Should "a = set([1,2])" be equivalent to "a = set(); a.add(1); a.add(2)"? Why should it be? Adding elements one-by-one is slow and shouldn't be forced on the
by ak217 15y ago
> Should "a = set([1,2])" be equivalent to "a = set(); a.add(1); a.add(2)"?
Why should it be? Adding elements one-by-one is slow and shouldn't be forced on the language model level.