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.
- Host: GitHub
- URL: https://github.com/rinhizakura/xstring
- Owner: RinHizakura
- Created: 2020-07-14T03:19:50.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-09T16:59:59.000Z (over 4 years ago)
- Last Synced: 2024-12-27T12:09:02.288Z (4 months ago)
- Language: C
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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".