Miek Gieben
6eb42504c4
typo
2011-08-22 13:06:34 +02:00
Miek Gieben
3ce319eb8b
Add IsQuestion
2011-08-22 12:52:13 +02:00
Miek Gieben
aaf4af6401
add: setUpdate to create update packets
2011-08-22 10:29:39 +02:00
Miek Gieben
146845ebde
Re-use socket for udp
2011-08-10 14:11:53 +02:00
Miek Gieben
46399602a0
update the todo
2011-08-09 16:14:47 +02:00
Miek Gieben
0f1d52d66c
Play with compression-like zone structures
2011-08-09 15:56:00 +02:00
Miek Gieben
7cd58b1700
start with zone compression
2011-08-09 15:24:53 +02:00
Miek Gieben
41b0b39432
tcp fixes
2011-08-09 15:13:35 +02:00
Miek Gieben
8a82f129c0
tcp fixes
2011-08-09 15:01:29 +02:00
Miek Gieben
44d3cc7daf
kill another make()
2011-08-09 13:15:25 +02:00
Miek Gieben
c37686a724
remove len(s) from the fastpath
2011-08-09 11:41:44 +02:00
Miek Gieben
100f8ef7eb
Remove len(msg) in favor of a variable with that value
2011-08-09 10:54:58 +02:00
Miek Gieben
1053090121
performace tweaks
2011-08-09 10:29:30 +02:00
Miek Gieben
da5d2e91a8
Remove another small allocation
2011-08-09 10:16:45 +02:00
Miek Gieben
e575e8c6f7
minor additions
2011-08-08 16:49:51 +02:00
Miek Gieben
3f3649509f
not needed
2011-08-08 16:41:16 +02:00
Miek Gieben
12a419e0f1
some go performance stuff added
2011-08-08 16:40:57 +02:00
Miek Gieben
54bf67a5f0
Fixes
2011-08-08 16:30:52 +02:00
Miek Gieben
e66de90871
Correct the Makefile too
2011-08-08 16:29:57 +02:00
Miek Gieben
7b96179c41
correct the names
2011-08-08 16:29:35 +02:00
Miek Gieben
7d2aabea76
re-add qperf
2011-08-08 16:29:13 +02:00
Miek Gieben
c64f506103
Remove a packStruct - should improve performance
2011-08-08 15:28:19 +02:00
Miek Gieben
4a8133eabd
Fix the order of the test
2011-08-08 15:12:24 +02:00
Miek Gieben
982f277a44
kill a packStruct
2011-08-08 14:09:05 +02:00
Miek Gieben
472935c3d2
Fix test
2011-08-08 13:21:18 +02:00
Miek Gieben
861a2adb6c
Forget to the add the i := fv.Uint()
2011-08-08 13:10:35 +02:00
Miek Gieben
0d917b3c92
accept an uint16, not an int
2011-08-08 10:35:16 +02:00
Miek Gieben
7ef1892814
Tests fails, but dont crash
2011-08-08 10:33:50 +02:00
Miek Gieben
68d2f49caa
another nil test
2011-08-08 10:30:28 +02:00
Miek Gieben
91fdd69c80
no panic in the lib
2011-08-08 10:29:30 +02:00
Miek Gieben
64715cc563
Extra nil checks
...
Now that parsing is broken. Fix the code to do nil checks
which now surface.
2011-08-08 10:20:52 +02:00
Miek Gieben
2a596f60b9
impl. the recent changes from the reflect package
2011-08-08 10:15:24 +02:00
Miek Gieben
d6716f693d
impl. the recent changes from the reflect package
2011-08-08 09:49:25 +02:00
Miek Gieben
a3bd25fad3
remove this
2011-08-04 15:46:39 +02:00
Miek Gieben
27948bb9f9
Use uint16 instead of int
2011-08-04 15:13:10 +02:00
Miek Gieben
a44eb54de2
put defer back in
2011-08-04 13:59:15 +02:00
Miek Gieben
1032e7593f
defer add a small performance penalty
2011-08-04 13:49:40 +02:00
Miek Gieben
c170e0bbaa
Eliminate allocations when using ExchangeBuffer()
2011-08-04 13:17:36 +02:00
Miek Gieben
069c5237f5
added
2011-08-04 11:27:56 +02:00
Miek Gieben
dfbfa8b452
still need the copy
2011-08-03 15:05:13 +02:00
Miek Gieben
4fbdf56f5f
implement a (working) TTL for the cache and use a mutex
2011-08-03 14:50:15 +02:00
Miek Gieben
70d6265e77
Looks like a cache, quacks like a cache.. its a cache. Not RCU though
2011-08-03 10:35:19 +02:00
Miek Gieben
16c788e42a
more
2011-08-02 14:28:20 +02:00
Miek Gieben
2d9e619c01
Upgrade to r59 of Go this means parsing is broken now
...
Ragel does not support newer versions of Go. But I do want to
upgrade to them. So parsing from strings has been disabled and
will be re-enabled when Ragel 7 is out
2011-08-02 09:06:15 +02:00
Miek Gieben
5e94ba32fd
Fix the code a bit
2011-08-01 20:07:50 +02:00
Miek Gieben
9330f16c5c
some minor tweaks
2011-08-01 14:13:13 +02:00
Miek Gieben
38d15b76e2
doc
2011-08-01 14:09:41 +02:00
Miek Gieben
9d4cbdbcc8
More docs
2011-08-01 14:00:18 +02:00
Miek Gieben
a460c45d2e
just use println
2011-08-01 13:59:02 +02:00
Miek Gieben
0565d0bddf
Even more simpler
2011-08-01 13:26:29 +02:00