danlucraft/swt — pull request #7 by PragTob (2012-11-04 19:52:16+00:00)
Title: Fixing cpu detection

Hi,

this should fix cpu recognition on all OS - at least linux and MacOSX. I didn't quite notice that @wasnotrice also already fixed it for Linux (not just Max), in his PR so this relates to #3 - but well since I was at it I removed a little duplication and added a tiny bit of memoization to prevent a duplicated call (as I presume that cpu and OS don't change in between)

I'd appreciate a quick merge if it"s good :-)

Cheers,
Tobi