public interface RuntimeShapeInspector
Modifier and Type | Method and Description |
---|---|
void |
visit(String flagName,
boolean flagValue) |
void |
visit(String fieldName,
HotLoopCallee value) |
void |
visit(String fieldName,
Object value) |
void |
visit(String key,
String runtimeShape)
To be called from
HotLoopCallee.inspectRuntimeShape(RuntimeShapeInspector) with something, that is
important to ensure monomorphism and predictable branch taking in hot loops, but doesn't apply to other visit()
methods in RuntimeShapeInspector. |
<T> void |
visit(String fieldName,
T[] values) |
void visit(String fieldName, @Nullable HotLoopCallee value)
<T> void visit(String fieldName, T[] values)
void visit(String flagName, boolean flagValue)
void visit(String key, String runtimeShape)
HotLoopCallee.inspectRuntimeShape(RuntimeShapeInspector)
with something, that is
important to ensure monomorphism and predictable branch taking in hot loops, but doesn't apply to other visit()
methods in RuntimeShapeInspector. For example, BitmapOffset.inspectRuntimeShape(io.druid.query.monomorphicprocessing.RuntimeShapeInspector)
reports
bitmap population via this method, to ensure predictable branch taking inside Bitmap's iterators.Copyright © 2011–2018. All rights reserved.