Re: [go-nuts] map memory usage

2020-01-31 Thread Ian Lance Taylor
On Fri, Jan 31, 2020 at 2:48 AM wrote: > > Is there a better way to estimate the memory usage of a map, other than the > following: > https://play.golang.org/p/MLSd84CJB3R The memory usage of a map is going to depend on the history of how the map is used. That said, a map is an array of buckets

[go-nuts] map memory usage

2020-01-31 Thread pierre . curto
Hello, Is there a better way to estimate the memory usage of a map, other than the following: https://play.golang.org/p/MLSd84CJB3R Thanks! -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving email

Re: [go-nuts] map memory usage question

2016-06-16 Thread Ian Lance Taylor
On Thu, Jun 16, 2016 at 4:59 PM, Dan Kortschak wrote: > I'm running a terabyte-scale (minor compiler changes are necessary to get > this to run) genome resequencing simulation at the moment and an interesting > question has arisen. > > The simulation involved hashing over ~all positions of a genom

[go-nuts] map memory usage question

2016-06-16 Thread Dan Kortschak
I'm running a terabyte-scale (minor compiler changes are necessary to get this to run) genome resequencing simulation at the moment and an interesting question has arisen. The simulation involved hashing over ~all positions of a genome, either with the key being a string or a [2]string. The dif