Yeah saw that, but what about a map with around 1000000000 entries. this will add a lot of overhead i guess.
On Monday, August 27, 2018 at 3:13:39 PM UTC+5:30, Jan Mercl wrote: > > On Mon, Aug 27, 2018 at 11:38 AM Kasun Vithanage <alan...@gmail.com > <javascript:>> wrote: > > > I simply want to delete the memory allocated by Value too. When i > checked memory with MemStats, its still same as when i added entries to map > > See https://github.com/golang/go/issues/20135#issuecomment-297490415 > > "The only available workaround is to make a new map and copy in elements > from the old." > > > -- > > -j > -- 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. For more options, visit https://groups.google.com/d/optout.