Commit 6a53af3
Fedorov, Mikhail
Fix performance bug with large number of unnamed parameters
On some occasions where col in (:args) contain a really lot args, 10k+ for instance, this commit fixes a performance (high CPU) bug by NOT traversing the whole map in basically O(n^2) manner
Signed-off-by: Mikhail Fedorov <mfedorov761@gmail.com>1 parent abb3b68 commit 6a53af3
File tree
1 file changed
+8
-5
lines changed- spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert
1 file changed
+8
-5
lines changedLines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | | - | |
629 | | - | |
630 | | - | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
631 | 632 | | |
632 | 633 | | |
633 | | - | |
| 634 | + | |
| 635 | + | |
634 | 636 | | |
| 637 | + | |
635 | 638 | | |
636 | 639 | | |
637 | | - | |
| 640 | + | |
638 | 641 | | |
639 | 642 | | |
640 | 643 | | |
| |||
0 commit comments