Skip to content

Commit

Permalink
The PersistentVector switch for 64Bit is not right
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed May 29, 2012
1 parent 53b7121 commit 3d19e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FSharpx.Core/DataStructures/Vector.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ open FSharpx
open System.Threading

let is64BitProcess = System.IntPtr.Size = 8
let blockSizeShift = if is64BitProcess then 6 else 5
let blockSizeShift = 5 // TODO: what can we do in 64Bit case?
let blockSize = 1 <<< blockSizeShift
let blockIndexMask = blockSize - 1

Expand Down

0 comments on commit 3d19e93

Please sign in to comment.