Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nteon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
nteon
14y ago
bytes.IndexByte is clever in that way, using SSE instructions: http://golang.org/src/pkg/bytes/asm_amd64.s I tried using it ( https://github.com/bpowers/psm/commit/55bdd3f51c9c61a9247fec... ), but it wasn't very helpful, I think because t
92.
▲
by
nteon
14y ago
I've updated the article to mention this, thanks.
93.
▲
by
nteon
14y ago
wow, thats super cool!
94.
▲
by
nteon
14y ago
haha, yes that does seem to do what I wanted. Not sure how I missed it. I will test it, but I imagine that since it uses unicode.IsSpace it will be slightly slower.
95.
▲
by
nteon
14y ago
sorry to hear that. I believe I've fixed it, but don't have any iDevices to test with.
96.
▲
Optimizing Real World Go
(bpowers.github.com)
81 points
by
nteon
14y ago
|
18 comments
97.
▲
by
nteon
14y ago
I've used this for years, it's one of the first things I throw onto a new server. Simply fantastic.
98.
▲
by
nteon
14y ago
The Linux internal APIs are things that can only be used to construct kernel modules & components - derivative works that make the kernel function differently or support more hardware. Windows/Apple 'internal' APIs enable Apple & M
99.
▲
by
nteon
15y ago
why? just because his use case is different from yours? some people use apache for fronting dynamic requests, and nginx for static serving. It would be interesting to see if apache has become competitive at serving static resources and I
100.
▲
by
nteon
15y ago
you're comparing a version control system with a repository hosting website.
101.
▲
by
nteon
15y ago
so that you can update a dependency without relinking every binary that uses it.
102.
▲
by
nteon
15y ago
I always assumed that the SEG in SEGV referred to memory segmentation like that found in x86 real mode, not 'A process will request one or more segments (typically hundred,s thousands etc.)'.