mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-18 03:44:54 -04:00
DirectArrayFloatList: don't synchronize while ensuring size
* This list does not work multithreaded. No need to synchronize it. Just slows it down
This commit is contained in:
parent
c7e31c9698
commit
99977061ef
@ -41,7 +41,6 @@ class DirectArrayFloatList(
|
||||
private var output: FloatArray = FloatArray(0)
|
||||
private var outputUpToDate = false
|
||||
|
||||
@Synchronized
|
||||
override fun ensureSize(needed: Int) {
|
||||
checkFinished()
|
||||
if (limit - size >= needed) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user