Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?
Slashdot Deals: Deal of the Day - Pay What You Want for the Learn to Code Bundle, includes AngularJS, Python, HTML5, Ruby, and more. ×

Submission + - Speeding up code with GCC's prefetch extension (

birge writes: "In memory-constrained loops where memory must be accessed out-of-order, a relatively little-used extension to GCC can be used to speed up code by as much as several times. Extremely simple to use, the __builtin_prefetch instruction tells the cache mechanism to load a memory location into local chip cache, allowing the programmer to have memory loaded for the next computation in parallel with the current computation."

And on the seventh day, He exited from append mode.