Comment

Comment by pubg

This is a well-informed observation.

It's unfortunate Amber doesn't have a Map data type, pretty big limitation.

I can think of ways of doing it, e.g. something along the lines of:

* Set the constraint that all keys must be of type String

* Then abuse /dev/shm/.Amber/${pid}/${func}/${stackDepth}/<put keys and values in files somewhere under here>

parent pubg 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton