added performance-compile-options
- added various GHC-Option to perform a better compile - Using LLVM to optimize further
This commit is contained in:
parent
02c02454fd
commit
2d97d4e8ca
@ -6,7 +6,7 @@ author: sdressel
|
|||||||
|
|
||||||
executable Pioneers
|
executable Pioneers
|
||||||
hs-source-dirs: src
|
hs-source-dirs: src
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall -Odph -rtsopts -threaded -fno-liberate-case -funfolding-use-threshold1000 -funfolding-keeness-factor1000 -optlo-O3 -fllvm
|
||||||
other-modules:
|
other-modules:
|
||||||
Map.Map,
|
Map.Map,
|
||||||
Render.Misc,
|
Render.Misc,
|
||||||
|
@ -378,8 +378,9 @@ processEvent e = do
|
|||||||
adjustWindow
|
adjustWindow
|
||||||
SizeChanged ->
|
SizeChanged ->
|
||||||
adjustWindow
|
adjustWindow
|
||||||
_ ->
|
_ ->
|
||||||
liftIO $ putStrLn $ unwords ["Unhandled Window-Event:",show e]
|
return ()
|
||||||
|
--liftIO $ putStrLn $ unwords ["Unhandled Window-Event:",show e]
|
||||||
Keyboard movement _ isRepeated key -> --up/down window(ignored) true/false actualKey
|
Keyboard movement _ isRepeated key -> --up/down window(ignored) true/false actualKey
|
||||||
-- need modifiers? use "keyModifiers key" to get them
|
-- need modifiers? use "keyModifiers key" to get them
|
||||||
case keyScancode key of
|
case keyScancode key of
|
||||||
|
Loading…
Reference in New Issue
Block a user