Click here to Skip to main content
12,064,338 members (45,100 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted

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++) { ...

Revisions


  

Compare Revision Minor Date Status Editor
2 - 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 [^].




You may also be interested in...

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