Comment

Comment by codr7

Nice work, thanks!

I'll have a look later, the only part I didn't get was [^1], could you elaborate?

About the ArrayStack, I wanted a stack backed by a fixed array, because my suspicion was using a fixed array for fundamental collections would be faster. Hence the VM.Config object to set the max sizes.

There is also a DynamicArrayStack that supports reallocation, which is currently used by OrderedMap.

The plan is to eventually benchmark the alternatives, but start with the simplest thing that could possibly work.

parent codr7 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton