Message148366
| Author |
neologix |
| Recipients |
dmalcolm, eli.bendersky, flox, kaifeng, neologix, pitrou, python-dev |
| Date |
2011年11月25日.22:45:18 |
| SpamBayes Score |
3.537559e-08 |
| Marked as misclassified |
No |
| Message-id |
<CAH_1eM13a3yGKiNtKYYGDoJFSoPUFf4kr12GwEjiSf2aLgXR2Q@mail.gmail.com> |
| In-reply-to |
<1322258101.3272.41.camel@localhost.localdomain> |
| Content |
> Hmm, quite slow indeed, are you sure you're not running in debug mode?
>
Well, yes, but it's no faster with a non-debug build: my laptop is
really crawling :-)
> If the performance regression is limited to read(), I don't think it's
> really an issue, but using mmap/munmap explicitly would probably benicer
> anyway (1° because it lets the glibc choose whatever heuristic is best,
> 2° because it would help release memory on more systems than just glibc
> systems). I think limiting ourselves to systems which have
> MMAP_ANONYMOUS is good enough.
>
Agreed.
Here's a patch. |
|