Closed acuarica closed 3 months ago
Path | Size |
---|---|
dist/sevm.js | 17.4 KB (0%) |
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.24%. Comparing base (
e03ddd3
) to head (be8980c
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Context memory is represented with a plain object. Plain objects only allows keys to be either
string
orSymbol
. This can pose problems where memory locations are realized asbigint
s, needing to convert to anumber
to query for memory locations.This PR introduces a
Memory
class to support context memory usingbigint
directly. Moreover, by having a unique access point for memory locations, it can be easier to invalidate certain or all locations in a givenMemory
.