The comments in SignalArray claim that subclasses of Array would be slower than a Proxy: https://github.com/proposal-signals/signal-utils/blob/main/src/array.ts#L60
I would be great to back that up with a runnable benchmark. These kinds of things sometimes change over time in VMs.
The comments in SignalArray claim that subclasses of Array would be slower than a Proxy: https://github.com/proposal-signals/signal-utils/blob/main/src/array.ts#L60
I would be great to back that up with a runnable benchmark. These kinds of things sometimes change over time in VMs.