SkipLabs / skdb

SKDB is an embedded SQL database that stays in sync.

Home Page:https://skdb.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Limit use of `newObstack` to implementation of `withRegion` functions

jberdine opened this issue · comments

Also rename newObstack to e.g. unsafeNewObstack.

Care must be taken when creating a new obstack since if mutable values from the old obstack are used by computations run in the new obstack, it is possible to create old-to-young pointers, and the runtime system does not handle them safely.

See discussion: #126