haydnv / tinychain

A next-gen database + SaaS framework for rapid development and integration of enterprise services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimize allocations when cloning a `Scalar`

haydnv opened this issue · comments

This includes:

  • updating Tuple to use a SmallVec
  • updating Link and TCString to use Arc<str>s instead of Strings internally
  • using an Arc in the Value::Bytes and Value::Email variants