Re: [go-nuts] Change slice type

2019-11-27 Thread gregto83
Hi Ian, thanks for the help... quick question about alignment because i may be doing something wrong but it shows me that it doesn't matter for the slice type, everything is alignment the same way. Can you comment on this? On 32 bit it'll always return 4 and for 64 bit - 8... even for char or

[go-nuts] Change slice type

2019-11-26 Thread gregto83
Hi Guys, quick question... When i have a buffer x:=make([]byte, 0, 8) Is it possible to use same memory range as []int of size: FLOOR(8*size_of(byte)/size_of(int)). Basically i want to make slab allocator better Thanks -- You received this message because you are subscribed to the