perf: add `ShareCommon.shareCommon'`

A more efficient (but less flexible) `shareCommon` API.
5 files changed