Re: [go-nuts] comment in test/ken/slicearray.go

2021-12-04 Thread Ian Lance Taylor
On Sat, Dec 4, 2021 at 2:46 PM arthurwil...@gmail.com
 wrote:
>
> this should probably be updated to width 8:
> // width 4 (float64)
> https://cs.opensource.google/go/go/+/master:test/ken/slicearray.go;l=92#:~:text=91-,92,-93

Thanks, sent https://golang.org/cl/369374.

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/CAOyqgcU%2BFKzAOei01avL3aEXvRVOR60ihSMvtUHfTGhe9sntCA%40mail.gmail.com.


[go-nuts] comment in test/ken/slicearray.go

2021-12-04 Thread arthurwil...@gmail.com
this should probably be updated to width 8:
// width 4 (float64) 
https://cs.opensource.google/go/go/+/master:test/ken/slicearray.go;l=92#:~:text=91-,92,-93

-- 
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/0d8e034d-8631-406f-9ae2-eb931fee82e3n%40googlegroups.com.


[go-nuts] allow to use fieldaligment with own golang code

2021-12-04 Thread Vasiliy Tolstov
I want to use fieldaligment in own code (mostly i want to align automatic
struct fields in generated code).
Also i want to reformat generated protobuf code via own tool.
I can run fieldaligment.Analyzer but can't set -fix flag because it
provided in internal package

go/analysis/internal/checker/checker.go


i'm also create golang protobuf issue about field alignment because
sometimes generated structs have 3x memory usage vs properly aligned struct.


What can you suggests ? I don't think that golang protobuf devs fix this in
near feature.. or i'm wrong?

Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru

-- 
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/CACaajQuvQxfaQELJXsrz0X00f6Kvvx89CD77VOvmYu8X7GStwg%40mail.gmail.com.