Comments (5)
I agree a tree implementation is missing in the toolset :)
Currently, there is no plan for it. There is a bplus tree which I couldn't publish due to licensing but I was told that I can open source it after 2022. So, I guess, I'll add it by the end of this year. Not sure if it helps you though.
from sc.
That's fine I might just change the mutex implementation a little and use the mmap to store it. Thanks for your time anyways!
from sc.
Well for now I'll use the other tree implementation I found. On another note is there anything in the library that can be used as a shared semaphore between processes. Kind of like semaphore.h on POSIX systems.
from sc.
Sorry, there is nothing for inter-process communication.
from sc.
Here you can find a non-recursive implementation of the AVL Tree that is well done and simple to adapt to your needs.
https://github.com/xieqing/avl-tree
from sc.
Related Issues (19)
- A little problem about hashmap HOT 2
- # 📚 https://git.io/JvXDlhttps://git.io/JvXDl HOT 1
- 2023-01-15T13:51:12.2184877Z Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. 2023-01-15T13:51:12.3359091Z
- 4
- question: why pass by reference in `sc_str_substring((char** str, uint32_t start, uint32_t end)`? HOT 6
- socket code does not compile on visual studio HOT 3
- Using this lib over FetchContent HOT 5
- Compile errors on Release HOT 7
- sc_str_append_fmt is trimming whitespaces at the end of the formated strings HOT 3
- Fix documentation in sc_list.h
- Add shrink option to sc_buf
- [error]“afunix.h”: No such file or directory sc_socket_test HOT 2
- What does this function? HOT 17
- EPOLLET in non-blocking sc_sock HOT 10
- sc_array.h: error: implicit declaration of function 'memmove' HOT 3
- #if defined(_WIN32) || defined(_WIN64) is not enough to check for MSVC HOT 7
- sc_sock: WSAPoll is broken HOT 2
- sc_sock thread-safety HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sc.