mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-01 12:50:57 +08:00
Improve performance
This commit is contained in:
parent
348d13a4c1
commit
fec3702ba9
@ -94,3 +94,7 @@ actual fun ByteArray.unzip(offset: Int, length: Int): ByteArray {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 时间戳
|
||||
*/
|
||||
actual val currentTimeMillis: Long get() = System.currentTimeMillis()
|
@ -74,3 +74,8 @@ actual fun ByteArray.unzip(offset: Int, length: Int): ByteArray {
|
||||
return output.toByteArray()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 时间戳
|
||||
*/
|
||||
actual val currentTimeMillis: Long get() = System.currentTimeMillis()
|
Loading…
Reference in New Issue
Block a user