[CONJ-1009] improve performance reading big resultset Created: 2022-09-06  Updated: 2022-09-30  Resolved: 2022-09-30

Status: Closed
Project: MariaDB Connector/J
Component/s: performance
Affects Version/s: None
Fix Version/s: 3.1.0

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

Actual implementation check column metadata for each decoding value :
getInt() will check column medatadata to check column datatype, signed/unsigned value, ... for each decoding.

When having lots of rows, that represent a significant amount of time.
A better solution would be to set a decoding method reference depending on datatype, permitting to decode value.
This need benchmark, because method reference use might prevent better performant


Generated at Thu Feb 08 03:19:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.