commit | ff721524ec582abe6667add99c360e5ec247c736 | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Mon Mar 31 18:44:59 2008 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Mon Mar 31 18:44:59 2008 +0000 |
tree | 4bfadcc9960b2f9a6898adc8ff0c6001851f9085 | |
parent | 5297e5ffc517c08cd8a0bfc53d09e538d7e667a3 [diff] |
Hack ReadFileFast() to raise the threshold of memory mapped files (from 4->12 pages). This is a temporary solution to avoid running out of file descriptors (which defaults to 256). Need to benchmark to understand the speed benefit. If the benefit is small, the simple solution is to avoid memory mapping files. If the benefit is significant, more thought is necessary. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48991 91177308-0d34-0410-b5e6-96231b3b80d8