mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-12 18:17:02 +00:00
perf[task]: reduce the performance cost of boxing
This commit is contained in:
1 parent
9895e3c9ec
commit
db0820d939
1 file changed
+1
-1
@@ -117,7 +117,7 @@ public final class TaskBus {
|
||||
if (uid <= 0) {
|
||||
execute((int) session.getSid(), task);
|
||||
} else {
|
||||
execute(uid, task);
|
||||
execute((int) uid, task);
|
||||
}
|
||||
} else {
|
||||
execute(attachment.taskExecutorHash(), task);
|
||||
|
||||
Reference in new issue
Block a user