cycle / database

Database Abstraction Layer, Schema Introspection, Schema Generation, Query Builders
MIT License
54 stars 22 forks source link

Interpolator optimization #94

Closed msmakouz closed 1 year ago

msmakouz commented 1 year ago

Improved interpolation performance. Thanks @hustlahusky

With old code:

old1 old2 old3

With new code

new1 new2 new3

codecov[bot] commented 1 year ago

Codecov Report

Merging #94 (0ef7b43) into 2.x (8113292) will increase coverage by 0.03%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                2.x      #94      +/-   ##
============================================
+ Coverage     94.21%   94.24%   +0.03%     
  Complexity     1642     1642              
============================================
  Files            98       98              
  Lines          4474     4463      -11     
============================================
- Hits           4215     4206       -9     
+ Misses          259      257       -2     
Impacted Files Coverage Δ
src/Query/Interpolator.php 100.00% <100.00%> (ø)
src/Driver/DriverInterface.php 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.