On 09/28/2018 09:13 AM, Henrik Johansson wrote: > This sounds much like the trickery people have used both successfully > but also disastrously using weak references in Java. > Is that where you got the idea from? No. I think I mentioned in my first post where I got the idea from. I haven't programmed Java the last 20 years. Anyway... Thinking about it, I might be able to achieve the same by just maintaining a []Object and having the map hold integer indexes instead. /Peter -- 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.
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Dan Kortschak
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Peter Mogensen
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Ian Lance Taylor
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Peter Mogensen
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Francis
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... keith . randall
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Peter Mogensen
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Peter Mogensen
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Keith Randall
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Henrik Johansson
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Peter Mogensen
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Peter Mogensen
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Henrik Johansson
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Peter Mogensen
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Jan Mercl
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Henrik Johansson
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Henrik Johansson
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Dan Kortschak
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Dan Kortschak
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Peter Mogensen
- Re: [go-nuts] Huge map[string]*Object and GC where *Objec... Peter Mogensen