Skip to content

sc 0.66.3

Latest

Choose a tag to compare

@andrei-marinica andrei-marinica released this 10 Nov 07:33
· 1 commit to master since this release
v0.66.3
2cb3ac8
  • managed-buffer-preload feature: decoding from managed buffers via the static buffer, which greatly reduces the gas cost of decoding large values (e.g. long ManagedVecs in storage). Nested managed buffers and big ints are created directly from the cached bytes.
  • ManagedVecEncoded: a list that keeps its items encoded, with no-op storage load/save, push, a lazily decoding iterator, and conversions to/from ManagedVec.
  • Static buffer acquisition no longer blocks: if the static buffer is already being accessed, it falls back instead of waiting. Fixes a deadlock under StaticApi (e.g. decoding inside a ManagedBuffer::with_buffer_contents callback with managed-buffer-preload enabled).