[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Optimal buffer size for copy
From: |
Paul Eggert |
Subject: |
Re: Optimal buffer size for copy |
Date: |
06 Nov 2003 12:03:46 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Sorry to be a pain, but I now remember that there's similar code in
diffutils/lib/cmpbuf.c's buffer_lcm function. It attempts to yield
reasonable values if buffer sizes are zero, and it does a sanity check
against maximum "reasonable" values. This all came about because of
freaky buffer sizes in various operating systems, so I expect we'd run
into similar problems here.
Suppose we just split out buffer_lcm into a separate module and use
that?
- Optimal buffer size for copy, neillm, 2003/11/04
- Re: Optimal buffer size for copy, Paul Eggert, 2003/11/04
- Re: Optimal buffer size for copy, neillm, 2003/11/06
- Re: Optimal buffer size for copy, Paul Eggert, 2003/11/05
- Re: Optimal buffer size for copy, neillm, 2003/11/06
- Re: Optimal buffer size for copy,
Paul Eggert <=
- Re: Optimal buffer size for copy, neillm, 2003/11/07
- Re: Optimal buffer size for copy, Paul Eggert, 2003/11/06
- Re: Optimal buffer size for copy, neillm, 2003/11/07
- Re: Optimal buffer size for copy, neillm, 2003/11/25