Hi!
2014-07-25 16:56 GMT+07:00 Guillaume Chereau <[email protected]>:
> Hello all,
>
> I created a branch to try to fix the star data packing problem.
>
> lp:~guillaume-chereau/stellarium/no-bit-field
>
> In this branch I removed all the bit fields of the star structures, and
> instead use bit operations to get the values directly from the mapped
> memory. With this we should never need to repack the structures no
> matter the architecture.
>
> I just tested it on linux 64 bit so far, where it seems to work with no
> noticeable performance penalty (in theory the code emitted should be the
> same as before).
>
I tested it on Windows 7 (32-bit) with MSVC - it works! But (!) this code
has troubles in convertToSpectralType method (on linux too).
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Stellarium-pubdevel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel