On Sat, Mar 13, 2021 at 6:14 PM Kevin Chadwick <m8il1i...@gmail.com> wrote:
> Nonsense around performance is the reason that c sucks. > Lack of "nonsense around performance" is also the reason why many people use Go instead of, say, Python. I'm once again not sure what your objective is here. No one is trying to argue that it is impossible to introduce semantics like you propose. We are only trying to give you the reasons why that's currently not done. You can always file a proposal to change the semantics. But I would strongly suggest to a) get acquainted with the reasons given to you for why maps work the way they do and b) have good answers ready when they come up in the discussion. At least better answers than just dismissing them. If your only response to someone saying that performance would suffer to much if we had to allocate a map for every zero value is "that is performance nonsense", my prediction is that your proposal would not get very accepted. -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/CANNfpqcW2yRLefLzc9h1Dqk7Hr5ASwmrfoLD-QxhxwA7nwEzXw%40mail.gmail.com > <https://groups.google.com/d/msgid/golang-nuts/CANNfpqcW2yRLefLzc9h1Dqk7Hr5ASwmrfoLD-QxhxwA7nwEzXw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAEkBMfH2oEhF4-e957Pip5B50c7fc0fE14njra0PHShqQ%2Bo6JQ%40mail.gmail.com.