[go-nuts] Treeless: distributed NoSQL key-value DB written in Go

2016-06-21 Thread David M.
Hi, I've just released Treeless (https://github.com/dv343/treeless), a new distributed NoSQL key-value DB written in Go. I have been focused on performance and simplicity and I think I have achieved good results. For example, Get performance is 20% slower compared to Redis, but Set

Re: [go-nuts] Freetype performance

2016-10-28 Thread David M.
600/Captura%2Bde%2Bpantalla%2Bde%2B2016-10-28%2B17-03-20.png> I call measure string around 3 times per line because the text is colored and I need to know what pixels should I color. El miércoles, 26 de octubre de 2016, 7:20:30 (UTC+2), Nigel Tao escribió: > > On Tue, Oct 25, 2016 at 9:40

[go-nuts] Freetype performance

2016-10-25 Thread David M.
Hi, I'm using Go freetype (https://github.com/golang/freetype) for a 3D app using OpenGL. At each frame one portion of the text displayed changes, so I call DrawString() and upload the new image to OpenGL. After some profiling I know that the program runs at 350fps without the DrawString()

[go-nuts] Is something like SIMD "math/vector" planned?

2017-11-05 Thread David M.
Hi, I'm interested in high performance applications in Go, and I saw the new "math/bits" package. I think it's very nice that the compiler replaces the Go implementation with special CPU instructions when the architecture supports it. My question is, is there a plan to do something similar

[go-nuts] the example always fails if the string contains a trailing space before a newline

2022-12-19 Thread David M
Not quite sure if this is a bug but it's annoying: If the example tested string contains a trailing space before a newline, the test always fails no matter how. // this test passes func ExampleFormat() { fmt.Println("a\nb") // Output: // a // b } // this test fails no matter