gameServer/Consts.hs
author unc0rr
Fri, 24 Aug 2012 14:51:12 +0400
changeset 7593 b966e2d833f2
parent 6737 ce5fbd98370f
child 9702 27006953d901
permissions -rw-r--r--
An attempt to run main rope code only every 8th tick: - A big win for inner loop which is O(n^2) and thus it takes 64 times less cpu now. - Look and feel is almost identical (well, to my non-pro view) - Yes, the speed is limited to 7 px per accounting tick which is potentially very bad to collisions - Ruin shoppa

{-# LANGUAGE OverloadedStrings #-}
module Consts where

import qualified Data.ByteString.Char8 as B

serverVersion :: B.ByteString
serverVersion = "1"