diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2015-02-26 21:15:20 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2015-02-26 21:15:20 -0700 |
commit | 1d9315e35b47d5715309ae72cf34edc0f448e6bc (patch) | |
tree | f79af8a9b160a7041bcb0117d373ea5742b83508 | |
parent | Merge pull request #314 from vdemario/fix_typo_readme (diff) | |
parent | Increase max array size to 2GB. (diff) | |
download | dedo-1d9315e35b47d5715309ae72cf34edc0f448e6bc.tar.gz dedo-1d9315e35b47d5715309ae72cf34edc0f448e6bc.tar.xz |
Merge pull request #315 from benbjohnson/max-alloc
Increase max array pointer size to 2GB.
-rw-r--r-- | page.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ import ( const pageHeaderSize = int(unsafe.Offsetof(((*page)(nil)).ptr)) -const maxAllocSize = 0xFFFFFFF +const maxAllocSize = 0x7FFFFFFF const minKeysPerPage = 2 const branchPageElementSize = int(unsafe.Sizeof(branchPageElement{})) |