Remove inaccurate "zero-{copy,allocation}" claims
This commit is contained in:
@@ -23,7 +23,7 @@ WeaselDB is a high-performance write-side database component designed for system
|
||||
- **High-performance JSON parsing** with streaming support and SIMD optimization
|
||||
- **Multi-threaded networking** using multiple epoll instances with unified I/O thread pool
|
||||
- **Configurable epoll instances** to eliminate kernel-level contention
|
||||
- **Zero-copy design** throughout the pipeline
|
||||
- **Optimized memory management** with arena allocation and efficient copying
|
||||
- **Factory pattern safety** ensuring correct object lifecycle management
|
||||
|
||||
---
|
||||
@@ -152,7 +152,7 @@ A high-performance, multi-stage, lock-free pipeline for inter-thread communicati
|
||||
- **Arena-backed string storage** with efficient memory management
|
||||
- **Move-only semantics** for optimal performance
|
||||
- **Builder pattern** for constructing commit requests
|
||||
- **Zero-copy string views** pointing to arena-allocated memory
|
||||
- **String views** pointing to arena-allocated memory to avoid unnecessary copying
|
||||
|
||||
#### **Configuration & Optimization**
|
||||
|
||||
@@ -242,7 +242,7 @@ The system implements a RESTful API. See [api.md](api.md) for comprehensive API
|
||||
1. **Performance-first** - Every component optimized for high throughput
|
||||
2. **Scalable concurrency** - Multiple epoll instances eliminate kernel contention
|
||||
3. **Memory efficiency** - Arena allocation eliminates fragmentation
|
||||
4. **Zero-copy** - Minimize data copying throughout pipeline
|
||||
4. **Efficient copying** - Minimize unnecessary copies while accepting required ones
|
||||
5. **Streaming-ready** - Support incremental processing
|
||||
6. **Type safety** - Compile-time validation where possible
|
||||
7. **Resource management** - RAII and move semantics throughout
|
||||
@@ -437,7 +437,7 @@ public:
|
||||
|
||||
#### Arena-Based String Handling
|
||||
```cpp
|
||||
// Preferred: Zero-copy string view with arena allocation
|
||||
// Preferred: String view with arena allocation to minimize copying
|
||||
std::string_view process_json_key(const char* data, ArenaAllocator& arena);
|
||||
|
||||
// Avoid: Unnecessary string copies
|
||||
|
||||
Reference in New Issue
Block a user