Files
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-10-16 22:06:55 -07:00
2019-10-16 22:06:55 -07:00
2019-10-30 14:16:46 +01:00
2019-10-16 22:06:55 -07:00
2019-10-16 22:06:55 -07:00
2019-02-01 15:34:59 +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-16 22:06:55 -07:00
2019-10-16 22:06:55 -07:00
2019-10-16 22:06:55 -07:00
2018-12-07 21:15:34 +00:00