Re: [go-nuts] Re: Reason to add a pass to remote address space

2021-07-02 Thread Kavindu Gimhan Zoysa
Thank you, I will check that. On Friday, 2 July 2021 at 22:18:41 UTC+5:30 th...@google.com wrote: > The commit message for https://go-review.googlesource.com/c/152001 > describes the motivation for this pass. > > Thanks, Than > > > On Fri, Jul 2, 2021 at 4:51 AM Kavindu Gimhan Zoysa > wrote

Re: [go-nuts] Re: Reason to add a pass to remote address space

2021-07-02 Thread 'Than McIntosh' via golang-nuts
The commit message for https://go-review.googlesource.com/c/152001 describes the motivation for this pass. Thanks, Than On Fri, Jul 2, 2021 at 4:51 AM Kavindu Gimhan Zoysa wrote: > Hi all, > > The subject of the above mail should be corrected as " > *Reason to add a pass to remove address spa

[go-nuts] efficiently reconstruct and use data structures encoded with gpb-kv

2021-07-02 Thread sbezverk
Hello, I am looking for some ideas about how efficiently use gpb-kv encoded data structure.  If each field of a data structure gets reconstructed with type assertion, I suspect that might cause some performance issues for a high rate data streams. Another concern is unknown structure of the

[go-nuts] Re: Reason to add a pass to remote address space

2021-07-02 Thread Kavindu Gimhan Zoysa
Hi all, The subject of the above mail should be corrected as " *Reason to add a pass to remove address space"* Thank you, Kavindu On Friday, 2 July 2021 at 12:36:26 UTC+5:30 Kavindu Gimhan Zoysa wrote: > Hi all, > > Can you please let me know the reason to add a pass to remove address > spaces a

[go-nuts] Reason to add a pass to remote address space

2021-07-02 Thread Kavindu Gimhan Zoysa
Hi all, Can you please let me know the reason to add a pass to remove address spaces as shown below? https://go.googlesource.com/gollvm/+/refs/heads/master/passes/RemoveAddrSpace.cpp#30 As per the comment in CompileGo.cpp, this is done right before the lowering to Machine IR. Thank you, Kavin