Sat.Jul 20, 2013 - Fri.Jul 26, 2013

article thumbnail

Designated Initialization With Compound Literals in C

O'Reilly Software

Just a quick post on something I just discovered and found neat (I always find obscure C syntax interesting). I was trying to figure out how to use a C designated initializer, where a member was a pointer to another designated initializer. At this point, you need a compound literal. Just a quick background on C initialization: // verbosely create an array with a known size int arr [3]; arr[0] = 1; arr[1] = 2; arr[2] = 3; // => [1, 2, 3] // concisely create an array with a known size int arr [

C++ 40
article thumbnail

Annotate your graphs

Speed Curve

You can now annotate the main graph on SpeedCurve with notes about deployments or specific performance optimizations you may have put live. Just click on the "Annotate" link at the bottom right of the main graph to start adding them and comparing the before and after performance of your website. A vertical line will be placed on the graph where ever a note has been added.

Website 40