Actions
Patch #40854
closedOptimize Issue#blocked? and Issue#duplicates
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Performance
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
This patch optimizes the Issue#blocked?
and Issue#duplicates
methods with the following changes:
- Adds an early return if
relations
is empty, avoiding unnecessary database queries. - Uses
where`
to filter relations directly in the database, improving query efficiency.
Files
Updated by Go MAEDA about 2 months ago
Updated by Go MAEDA about 2 months ago
- Status changed from New to Closed
I withdraw this patch.
I found that this patch may generate more queries than before the change.
Actions