Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 1999 18:35:08 -0500 (EST)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        questions@freebsd.org
Cc:        phk@login.dknet.dk
Subject:   -lmd's MD5File()
Message-ID:  <199911152335.SAA31130@misha.cisco.com>

next in thread | raw e-mail | index | archive | help
Why does not the  function in subject use mmap? In  my tests, using mmap
instead of  reading the  file block  at a  time gave  17-26% performance
improvement:

	The new method: 135735 microseconds per iteration
	The old method: 164525 microseconds per iteration

	The new method: 387283 microseconds per iteration
	The old method: 529743 microseconds per iteration

Should I submit patches, or is there a good reason? Thanks!

	-mi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911152335.SAA31130>