Super interesting article!
Chao Qu
1

It’s because reading data from ETS requires copying the data out of the ETS table and into the calling process. The “ring” is a fairly large data structure. FastGlobal, as mentioned in the article, takes advantage of an optimization the Beam VM does when calling a function that returns a constant value, allowing it to return a reference to the value from a constant pool — rather than having to copy the entire object into the calling process.

Show your support

Clapping shows how much you appreciated Jake Heinz’s story.