Click here to Skip to main content
12,693,263 members (32,431 online)
Click here to Skip to main content

Tagged as



Quick set a Byte Variable in a 3D struct

, 22 Nov 2012 CPOL
With nv3's suggested 'flat approach', using pointers I obtained a somewhat surprising result (about 3x speed improvement):register int i, j, k; LARGE_INTEGER t[4]; QueryPerformanceCounter(&t[0]); //-> 3 loops for (i=0; i<128; i++) { for (j=0; j<5; j++) { ...



Compare Revision Minor Date Status Editor
2 - publicly available No 21-Nov-12 19:42 Available CPallini
Updates in content. 11 changes had been made.
1 No 21-Nov-12 19:42 Available CPallini


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer (Senior) AEM S.p.A.
Italy Italy

Debugging? Klingons do not debug. Our software does not coddle the weak. Bugs are good for building character in the user.
-- The Klingon programmer

Beelzebub for his friends [^].

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 22 Nov 2012
Article Copyright 2012 by CPallini
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid