FirebirdSQL / NETProvider

Firebird ADO.NET Data Provider
https://www.firebirdsql.org/en/net-provider/
Other
152 stars 63 forks source link

Update FbDataReader.cs #1117

Closed BFuerchau closed 1 year ago

BFuerchau commented 1 year ago

Advantage: Instead of call for each value GetValue(i), call directly the _row[i].GetValue(). This i less number of calls and no type compares, where typeof(object) is everytime the last one.

The performance could increase up to 20% when loading resultsets e.g. to DataTable, like DbDataAdapter does

BFuerchau commented 1 year ago

Ok, i kill all request and will try with a new copy.