Cory Benfield
fbe0c8a6b8
Add inlinability to ByteBuffer getters. ( #1220 )
...
Motivation:
In complex ByteBuffer parsing code a surprising amount of cost comes
from retain/release operations that are emitted by the compiler around
calls to readerIndex/writerIndex, readableBytes/writableBytes, and
ByteBufferSlice._lowerBound. These are all straightforward computed
properties based on usableFromInline operations, and so they can be made
inlinable.
Modifications:
Joannis' sample benchmark runtime is halved by eliminating
retains/releases.
Result:
Better, faster parsing code.
2019-11-04 19:31:26 +01:00
..
2019-03-05 09:23:25 +00:00
2019-10-16 22:06:55 -07:00
2019-10-22 12:32:45 -07:00
2019-10-22 12:32:45 -07:00
2019-10-24 11:05:01 -07:00
2019-07-19 17:31:41 +01:00
2019-11-04 19:31:26 +01:00
2019-03-15 21:48:52 +00:00
2019-07-25 15:24:33 +01:00
2019-10-16 22:06:55 -07:00
2019-03-25 09:39:03 +02:00
2019-03-25 12:09:16 +02:00
2019-02-01 15:34:59 +00:00
2019-10-22 12:32:45 -07:00
2019-10-19 13:09:29 -07:00
2019-08-12 15:44:34 +01:00
2019-08-20 09:24:58 +01:00
2019-03-05 13:52:17 +00:00
2019-02-19 18:31:26 +00:00
2019-10-22 12:32:45 -07:00
2019-10-30 14:16:46 +01:00
2019-09-10 09:25:08 +01:00
2019-10-16 22:06:55 -07:00
2019-10-16 22:06:55 -07:00
2019-03-05 09:23:25 +00:00
2019-01-24 16:42:53 +00:00
2019-08-20 09:24:58 +01:00
2019-06-18 10:38:39 +01:00
2019-03-19 15:23:17 +00:00
2019-03-08 16:53:55 +00:00
2019-02-01 15:34:59 +00:00
2019-03-27 11:53:17 +00:00
2018-11-13 14:49:08 +00:00
2019-02-19 16:52:00 +00:00
2019-05-03 11:00:45 +01:00
2019-02-14 13:25:30 +00:00
2019-03-06 16:43:13 +00:00
2019-04-30 12:06:24 +01:00
2019-08-09 15:20:53 +01:00
2019-10-22 16:40:02 -07:00
2019-10-22 12:32:45 -07:00
2019-10-22 12:32:45 -07:00
2019-10-16 22:06:55 -07:00
2019-10-16 22:06:55 -07:00
2019-03-25 12:09:16 +02:00
2018-08-01 15:57:27 +01:00
2018-03-02 15:40:52 +09:00
2018-02-28 09:46:29 +00:00
2019-10-16 22:06:55 -07:00
2019-10-16 22:06:55 -07:00
2019-10-16 22:06:55 -07:00
2019-10-30 12:53:06 +01:00
2019-10-25 02:47:05 -07:00
2019-03-19 17:36:27 +00:00
2019-10-16 22:06:55 -07:00
2019-10-31 13:10:00 +01:00
2019-08-09 15:20:53 +01:00
2018-12-07 21:15:34 +00:00
2018-12-07 21:15:34 +00:00