An open API service indexing awesome lists of open source software.

https://github.com/rinhizakura/xstring

A practice to implement a folly::fbstring like string with SSO and CoW optimization.
https://github.com/rinhizakura/xstring

Last synced: 3 months ago
JSON representation

A practice to implement a folly::fbstring like string with SSO and CoW optimization.

Awesome Lists containing this project

README

        

# XString

## Introduction
This is a practice to implement a [folly::fbstring](https://github.com/facebook/folly/blob/master/folly/FBString.h) like string with SSO (small string optimization) and CoW (copy on write) optimization.

If you could read chinese, you are welcome to visit [Here](https://hackmd.io/@RinHizakura/HJy0Kx5kv)! Please give me any opinion if you find bug in my code!

## Reference
The original source code is from [2020q1 第 2 週測驗題
](https://hackmd.io/@sysprog/linux2020-quiz2) of class "NCKU linux kernel internal".