Mercurial > repos > rhope
view testfilewrite.rhope @ 122:7361d70fbba6
Improve comparison performance by using a constant rather than building a new result object each time
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 28 Oct 2010 21:04:44 -0400 |
parents | 2e2e55fc12f9 |
children |
line wrap: on
line source
Main[] { Truncate[File["testwrite.txt"]] { Close[[~]Write[ [Flatten["The quick brown fox jumped over the lazy dog.\n"]]Buffer >> ]] } { Print["Error truncating file"] } }