site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=l2Hz9LSw2IciUse0k2Hx2db5sY2L6++xn8wZiy32uDE=; b=dKK6Yn+ynIS2pjTnXK0igNcvlsgjAOu+R5k63324MrdqGvudRmm+8o9PYTJPldbZBA JLHEueJ5sV3p65U7GJPSZKHCsv1zAoXyJ0UNn8EtiaY12SGXoo0v27hHNfGO/k2i3EEP bikWUHukmjRRsxhpAaevDIkU7q09qnLv4Im/c= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=XzPqKiQqW0yPUs2AomnZP3Y1lA/gJTNJD1p9EtAr5qCynXC6dzpGDRFKyDJEYp2H5o xr5rasv4onh7vHo7tJ3f5evaV7C+CT8ufGVybb0MwhC1Un8LkjNBXbMWHmguI1l0LeHO P9A9ERCX3Veeg6RPd8dXnayRLDdBWb8rCAODc= Does anyone have code that implements a circular log buffer? I find that using ASL with full logging increases the run time of my code from 110s to over 140s which is unacceptable. I do need to see the past few log messages on error, though. Logging to a circular buffer should give me the speed I need. I'm thinking of writing to a fixed-size buffer and dumping that log buffer as needed. Does anyone have similar code? Thanks, Joel --- http://twitter.com/wagerlabs _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com