Back to home
Technology

Daniel J. Bernstein updated cdb (Constant database) to go beyond 4GB

Source

Hacker News

Published

TL;DR

AI Generated

Daniel J. Bernstein has updated cdb (Constant database) to support databases beyond 4GB, with the new version released as 20251021. The cdb structure offers fast lookups, low overhead, and no random limits, making it efficient for handling large databases. Various packages now provide tools for using cdb format, including cdb64 and implementations in languages like Rust, Go, Perl, and Python. Spotify's sparkey is a spinoff of cdb that enables constant databases larger than 4GB.

Read Full Article

Similar Articles

Talent over tokens: AI models are becoming more expensive to run, and productivity gains are limited — efficient workers might be the solution to strained budgets

Talent over tokens: AI models are becoming more expensive to run, and productivity gains are limited — efficient workers might be the solution to strained budgets

As AI models become more expensive to run, with costs exceeding those of actual workers, companies are facing strained budgets. Despite the promise of productivity gains through AI deployment, many firms are not seeing the expected returns. High costs associated with AI usage are leading to budget exhaustion, with examples like Uber spending its annual AI budget in a few weeks. As AI spending continues to rise, companies may need to reconsider their reliance on AI and potentially invest in efficient human workers instead.

Tom's Hardware
Pirate RPG game is secretly looting your SSD lifespan — new Windrose patch promises smoother sailing and addresses excessive disk writing

Pirate RPG game is secretly looting your SSD lifespan — new Windrose patch promises smoother sailing and addresses excessive disk writing

The Windrose RPG game has been criticized for excessively writing to SSDs, potentially shortening their lifespan. The game's new patch aims to reduce disk usage significantly, addressing the issue of up to 108GB per hour being written to SSDs. Comparisons with other games like Enshrouded and Valheim show Windrose's disproportionate SSD resource consumption. The game's high storage demand is attributed to its save system design, which has been adjusted in the latest patch to improve write speeds by 60-75%. Players are advised to update to the latest version to mitigate potential SSD wear and tear.

Tom's Hardware
Intel VP claims up to 30% of CPU performance is untapped by modern games — software optimization is critical to unlocking full potential of hybrid CPUs

Intel VP claims up to 30% of CPU performance is untapped by modern games — software optimization is critical to unlocking full potential of hybrid CPUs

Intel's VP Robert Hallock emphasizes that up to 30% of CPU performance in modern games remains untapped due to software optimization issues with hybrid CPUs. Hallock discusses the impact of disabling E-cores on Intel CPUs for better performance, noting that both E-cores and P-cores contribute equally to overall operation. He highlights the importance of software optimization in maximizing CPU performance, mentioning Intel's binary optimization feature in Arrow Lake chips as an example. Hallock suggests that software optimization is crucial for extracting more performance from existing silicon, with potential for significant gains in efficiency.

Tom's Hardware
Valve VRAM hack may improve gaming on 4GB GPUs — testing showed mixed results in select titles, with FPS almost tripling in certain games

Valve VRAM hack may improve gaming on 4GB GPUs — testing showed mixed results in select titles, with FPS almost tripling in certain games

A Valve VRAM hack has shown potential to enhance gaming performance on 4GB GPUs, with testing revealing varied results in different titles. The hack, initially aimed at 8GB GPUs, prioritizes gaming tasks over background processes when VRAM is limited. Testing on a 4GB Radeon RX 6500 XT with 16GB of RAM and a Ryzen 5 5600X showed significant FPS improvements in games like Alan Wake II, while others saw more modest gains. The hack doesn't reduce VRAM usage but optimizes it for gaming tasks, potentially benefiting 4GB GPU users in specific scenarios. Further testing is needed to assess its impact across a wider range of titles.

Tom's Hardware

We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.