On Thursday, 18-Novenber-2004 at 11:09:38 you wrote, > >In the discussion about handling "untrusted" data, I noticed that >Gabriele used "to block!" whilst Sunanda used to "to-block". I'm trying >to understand if this is just a matter of personal preference or there >is a real difference. > >On my machine, to block! appears to be at least 15 percent quicker than >to-block as shown by the following timing test. The test isn't very >accurate because I had other applications loaded on the machine at the >time. I did run a loop of 25 timing tests and to block! was always >quicker.
Speed's the only difference, as TO-BLOCK's just a function that duplicate's TO BLOCK! You can see this in the source of TO-BLOCK... >> source to-block to-block: func ["Converts to block value." value "Value to convert"][to block! :value] Carl Read. -- To unsubscribe from the list, just send an email to rebol-request at rebol.com with unsubscribe as the subject.
