[jOOQ/jOOQ#8751] Slightly improve performance of Integer rendering
When rendering Integer values (e.g. represented by Val objects) the `DefaultIntegerBinding` can be optimized to use `RenderContext#sql(int)` rather than `RenderContext#sql(String)`, as the latter requires to first call `Integer#toString()`.
This commit is contained in:
parent
c43f685199
commit
351b45b1ae
@ -2380,7 +2380,7 @@ public class DefaultBinding<T, U> implements Binding<T, U> {
|
||||
|
||||
@Override
|
||||
final void sqlInline0(BindingSQLContext<U> ctx, Integer value) {
|
||||
ctx.render().sql(value.toString());
|
||||
ctx.render().sql(value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
Reference in New Issue
Block a user