Skip to content

Implement SegmentPool for all platforms.#1776

Open
MohammedKHC wants to merge 1 commit intosquare:masterfrom
MohammedKHC:native-pool
Open

Implement SegmentPool for all platforms.#1776
MohammedKHC wants to merge 1 commit intosquare:masterfrom
MohammedKHC:native-pool

Conversation

@MohammedKHC
Copy link
Contributor

Closes: #1629

Questions

  1. Should this even be implemented for JS?
  2. I think the js source set should be shared with wasmJs. Is there any reason this isn’t the case? I believe wasmJs should have access to the Node.js and browser APIs.
  3. Is it okay to use Kotlin’s AtomicReference? (currently it requires opting in to ExperimentalAtomicApi)
    On the JVM, it just maps to java.util.concurrent.atomic.AtomicReference anyway.

@MohammedKHC MohammedKHC force-pushed the native-pool branch 3 times, most recently from 9ee22a0 to ebe7306 Compare February 10, 2026 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Memory Allocation Optimization for String to Path Conversion on non-JVM Platforms

1 participant