Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

Quick set a Byte Variable in a 3D struct

, 21 Nov 2012
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++) { ...

Revisions


  

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

License

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

Share

About the Author

CPallini
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 [^].



Follow on   LinkedIn

| Advertise | Privacy | Mobile
Web03 | 2.8.140821.2 | Last Updated 22 Nov 2012
Article Copyright 2012 by CPallini
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid