Reduce allocation

This commit is contained in:
tarsin committed 2023-07-03 17:40:44 +08:00
1 parent 2c452d236c
commit bffb32eafd
1 file changed
+1 -1
@@ -102,7 +102,7 @@ object DownloadManager : OnSpiderListener {
} }
list.add(info) list.add(info)
info.gid info.gid
}.toMutableMap() } as MutableMap<Long, DownloadInfo>
mWaitList = LinkedList() mWaitList = LinkedList()
mSpeedReminder = SpeedReminder() mSpeedReminder = SpeedReminder()
mDownloadInfoListeners = ArrayList() mDownloadInfoListeners = ArrayList()