Commit 6160f95d authored by DanielPJFaria's avatar DanielPJFaria
Browse files

Updated SizeCategory threshold

parent de25df2b
...@@ -41,7 +41,8 @@ public enum SizeCategory ...@@ -41,7 +41,8 @@ public enum SizeCategory
int sSize = source.count(); int sSize = source.count();
int tSize = target.count(); int tSize = target.count();
int max = Math.max(sSize, tSize); int max = Math.max(sSize, tSize);
if(max > 60000 || sSize*tSize > 1500000000) int min = Math.min(sSize, tSize);
if(max > 60000 || (min > 30000 && sSize*tSize > 1000000000))
return HUGE; return HUGE;
else if(max > 5000) else if(max > 5000)
return LARGE; return LARGE;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment