On 25/07/14 17:56, Guillaume Chereau wrote:
> 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).
> 
> Regards,
> 
>     Guillaume

Hi Guillaume,
debian package maintainer here.
This is nice, because recently, with 0.13 I've hit build problems
with -mno-ms-bitfields on some architectures that don't implement this switch. 
See:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755445
This was workaround'ed by patching CMakeLists.txt with Alexander W.

Cheers,
Tomasz

> 
> -- 
> Guillaume Chéreau <[email protected]>
> http://www.noctua-software.com
> tel: +886-970-422-910
> 
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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

Reply via email to