Preshing on Programming
Provenance & compiled volume Details
Original source preshing.com/
Corpus totals 74 works · 407 pages · 125,212 words
Compiled PDF volume Complete Archive (16.6 MB)
Content integrity (SHA-256)
- 01 Hash Collision Probabilities
- 02 Hash Table Performance Tests
- 03 Visual C++ Performance Pitfalls
- 04 The Windows Heap Is Slow When Launched from the Debugger
- 05 Finding Bottlenecks by Random Breaking
- 06 The Cost of Enabling Exception Handling
- 07 The Cost of Buffer Security Checks in Visual C++
- 08 The Cost of _SECURE_SCL
- 09 xkcd Password Generator
- 10 Penrose Tiling in Obfuscated Python
- 11 Penrose Tiling Explained
- 12 The Python "with" Statement by Example
- 13 Timing Your Code Using Python's "with" Statement
- 14 High-Resolution Mandelbrot in Obfuscated Python
- 15 How to Generate Random Timings for a Poisson Process
- 16 Locks Aren't Slow; Lock Contention Is
- 17 Always Use a Lightweight Mutex
- 18 A C++ Profiling Module for Multithreaded APIs
- 19 A Look Back at Single-Threaded CPU Performance
- 20 Roll Your Own Lightweight Mutex
- 21 Implementing a Recursive Mutex
- 22 How to Remove Camera Shake from iPhone 4S Videos
- 23 Memory Reordering Caught in the Act
- 24 Lightweight In-Memory Logging
- 25 An Introduction to Lock-Free Programming
- 26 Memory Ordering at Compile Time
- 27 Memory Barriers Are Like Source Control Operations
- 28 Acquire and Release Semantics
- 29 Weak vs. Strong Memory Models
- 30 This Is Why They Call It a Weakly-Ordered CPU
- 31 Here's Some Working Code to Sort One Million 8-Digit Numbers in 1MB of RAM
- 32 1MB Sorting Explained
- 33 Arithmetic Coding and the 1MB Sorting Problem
- 34 Arithmetic Encoding Using Fixed-Point Math
- 35 How to Generate a Sequence of Unique Random Integers
- 36 This Hash Table Is Faster Than a Judy Array
- 37 View Your Filesystem History Using Python
- 38 Introducing Mintomic: A Small, Portable Lock-Free API
- 39 A Lock-Free... Linear Search?
- 40 The World's Simplest Lock-Free Hash Table
- 41 Atomic vs. Non-Atomic Operations
- 42 The Happens-Before Relation
- 43 The Synchronizes-With Relation
- 44 Acquire and Release Fences
- 45 Double-Checked Locking is Fixed In C++11
- 46 Acquire and Release Fences Don't Work the Way You'd Expect
- 47 Bitcoin Address Generator in Obfuscated Python
- 48 What Is a Bitcoin, Really?
- 49 The Purpose of memory_order_consume in C++11
- 50 My Multicore Talk at CppCon 2014