Tag

String Optimization

0 views collected around this technical thread.

Beike Product & Technology
Beike Product & Technology
Mar 10, 2020 · Fundamentals

Optimizing String Replacement Using SSE2 SIMD Instructions

This article explains how to use SSE2 SIMD instructions to optimize string replacement operations, demonstrating a 16-character batch processing technique that significantly improves performance for longer strings.

Batch ProcessingPerformanceSIMD
0 likes · 4 min read
Optimizing String Replacement Using SSE2 SIMD Instructions
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Jun 5, 2018 · Backend Development

Why FBString Beats std::string: Three‑Tier Storage and Jemalloc Magic

This article explains how FBString improves performance over std::string by using a three‑tier storage strategy, tight integration with jemalloc, and specialized techniques like SSO, eager copy, and copy‑on‑write, detailing its core implementation and key functions.

CFBStringMemory Management
0 likes · 5 min read
Why FBString Beats std::string: Three‑Tier Storage and Jemalloc Magic