FriendlyCSharp.Databases
FriendlyCSharp.Databases is a cross-platform C library providing generic B-tree data structures suitable for in-memory storage and real-time data processing. It can serve as a replacement or complement to NoSQL and in-memory databases such as Firebase, Redis Cache, SAP HANA, Exadata, and OLTP systems. The B-tree is a self-balancing tree structure that keeps data sorted and supports efficient searches, sequential access, insertions, and deletions in logarithmic time, making it well-suited for handling large blocks of data commonly used in databases and filesystems. The library offers multiple class variants to address different scenarios. FcsBTreeN provides standard B-tree operations including add, find, search, update, delete, and traversal methods. FcsFastBTreeN adds optimized fast versions of these operations for improved performance. FcsDuplValueFastBTreeN supports duplicate values while maintaining fast access, and FcsKeyFastBTreeN uses a combined key-value structure. For thread-safe usage, FcsLockBTreeN