Wojciech Litewka

Results 39 comments of Wojciech Litewka

The problem is, at least when I last tested it, destructor is not called in editor when you just stop the game (or maybe only when it's the selected object...

Note this can be done already with ```kotlin list.indexOfFirst { /* condition */ }.takeUnless { it == -1 }?.let { } ```

If there was a small buffer of M = say 4, then randomness consumption could be reduced to N/M+1, greatly reducing CPU time as well. I.e. draw every M items...

> I think for the pure `Sequence.random` function, we should not allocate anything Well, currently it uses 1-element (stack allocated) buffer, so it may be M as well. But a...

I have managed to create a [template setup](https://gist.github.com/mcpiroman/cf511c5f9312a59e8f821706738eeab3) with ProGruard, that supports native distribution and packaging. It does not relay on uberjar, but can be easily modified to merge jars.

@AshStefanOltmann Dunno :( Only enabling certain tasks for jvm should be somehow possible, I'd read a docs about configuring kotlin multiplatform project.

@SmialyKot https://github.com/JetBrains/compose-jb/issues/1174#issuecomment-1075155835

The same problem, my own project with simple config. When I go ahead and package the `wix311.zip` folder as a real zip file, the build goes further but than fails...

The walkaround is to unpackage the downloaded `wix311-binaries.zip` file somewhere and add an env var `WIX_PATH` with the path to it.

Also, I'm uncertain about some line above in this comment: https://github.com/MonoMod/MonoMod/blob/86f3be60825da9328130a639a9a47ba13e49486e/MonoMod.RuntimeDetour/NativeDetour.cs#L16 I feel like `NativeDetourData` was also meant to be `DetourHelper`. As a suggestion, you may want to use VS's...