Miek Gieben
8a5eb58bc0
msg.Service: optimize a bit ( #2374 )
...
Make the NewSRV and friends slightly smarter. Optimize the calling of
targetStrip which is almost certainly not used.
Added benchmark show a modest improvement:
benchmark old ns/op new ns/op delta
BenchmarkNewSRV-4 300 283 -5.67%
Signed-off-by: Miek Gieben <miek@miek.nl >
2018-12-07 12:09:09 -08:00
..
2018-11-13 16:46:48 -05:00
2018-10-18 21:42:53 +00:00
2018-07-19 16:23:06 +01:00
2018-11-01 19:37:13 +00:00
2018-12-06 21:18:11 +00:00
2018-07-19 16:23:06 +01:00
2018-05-24 14:30:01 +01:00
2018-12-06 21:18:11 +00:00
2018-09-19 08:16:04 +01:00
2018-12-06 21:18:11 +00:00
2018-11-09 20:32:43 +00:00
2018-12-07 12:09:09 -08:00
2018-10-15 12:43:03 -04:00
2018-12-06 21:18:11 +00:00
2018-12-01 09:07:42 +00:00
2018-11-06 08:54:53 -08:00
2018-11-03 13:00:07 -07:00
2018-11-30 13:05:49 -05:00
2018-11-21 08:38:19 +01:00
2018-12-06 21:18:11 +00:00
2018-12-07 09:45:13 +00:00
2018-08-14 08:55:55 -07:00
2018-12-01 22:38:03 +00:00
2018-07-19 16:23:06 +01:00
2018-12-06 21:18:11 +00:00
2018-07-19 16:23:06 +01:00
2018-09-19 02:11:24 -07:00
2018-08-14 08:55:55 -07:00
2018-12-06 22:10:46 +00:00
2018-08-14 08:55:55 -07:00
2018-11-21 07:44:17 -08:00
2018-07-28 10:32:13 +01:00
2018-09-19 02:11:24 -07:00
2018-07-07 08:30:57 +01:00
2018-07-19 16:23:06 +01:00
2018-10-05 20:13:16 +00:00
2018-12-06 21:18:11 +00:00
2018-12-06 21:18:11 +00:00
2018-04-22 08:34:35 +01:00
2018-07-19 16:23:06 +01:00
2017-10-24 10:16:03 +01:00
2018-09-19 08:16:04 +01:00
2018-11-05 05:59:24 -08:00