[go-nuts] Does invoking a method with an interface variable avoid dependency analysis?

2019-07-08 Thread Il-seob Bae
As per the spec , > A reference to a method m is a method value or method expression of the > form t.m, where the (static) type of t is not an interface type, and the > method m is in the method set of t. It is immaterial whether the resulting

Re: [go-nuts] Swig, Shared C++ library and Go not working

2017-08-04 Thread il
Tried it. I need help with Swig and Shared lib пятница, 4 августа 2017 г., 21:37:32 UTC+3 пользователь Ian Lance Taylor написал: > > On Fri, Aug 4, 2017 at 8:08 AM, il <ber...@gmail.com > > wrote: > > Your method is good for static linking. > > Not for Shared C++

Re: [go-nuts] Swig, Shared C++ library and Go not working

2017-08-04 Thread il
Your method is good for static linking. Not for Shared C++ library пятница, 4 августа 2017 г., 18:07:15 UTC+3 пользователь Ian Lance Taylor написал: > > On Fri, Aug 4, 2017 at 7:20 AM, il <ber...@gmail.com > > wrote: > > I wanna use precomplied c++ library

[go-nuts] Swig, Shared C++ library and Go not working

2017-08-04 Thread il
I wanna use precomplied c++ library. I make test project for it. Mac OS Sierra Apple LLVM version 8.0.0 (clang-800.0.42.1) GO: go1.8.3 darwin/amd64 SWIG Version 3.0.12 swig -c++ -go -soname libapple.dylib -use-shlib -intgosize 64 core/Apple.i And I see Apple_gc.c and wanna compile with

[go-nuts] How make fastest map[uint32]uint64 with fixed size(250m)?

2017-07-24 Thread il
I have task: 1. Initialize map(250 million items) 2. Fill all values 3. Start http server. 4. Process requests. Iterates all values. I need fast "for" and read access with reasonable memory consumption. This is very important. Can you help me best solution? Thank you! -- You received this