On Fri, Aug 16, 2024 at 7:28 AM Leah Stapleton <leagohstapleton...@gmail.com> wrote: > > I have a question about building go source code to run the tests go swiss > maps experiments. > > first off, > There are tests with the same name in map_swiss_test.go and > map_noswiss_test.go, and when I go test -run TestMapIterOrder, it is by > default running the test in map_noswiss_test.go, so I assume I need to build > the source code for this experiment. > > How do I indicate I want the go source code build to use swiss maps > experiment? > > I normally run just run /make.bash from the /src dir.
Set GOEXPERIMENT=swissmap in the environment when invoking the go tool. You don't have to run make.bash again. Ian -- 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/CAOyqgcXhUrdp1d2kvEbj2a18qa0p6PgqS1E%3DiL4FaCGs7RSURQ%40mail.gmail.com.