Log in

No account? Create an account
entries friends calendar profile SpaceParanoids.net Previous Previous Next Next
Programming Question of the Day - Jarrett Heather — LiveJournal
Jarrett Heather's Journal
Programming Question of the Day
8 comments or Leave a comment
macklinr From: macklinr Date: January 25th, 2005 06:52 pm (UTC) (Link)
Like I said, a few seconds' scrutiny. I would have had more time to check it out, but that would have involved me not having to deal with everyone wanting a piece of me because I took yesterday off.

What you're effectively doing is a swap. Another idea you may want to do, depending on when you want to use the randomized data, is have a hird aray that you populate with the random data rather than just dumping it. Though, if you're just looking to simply dump it without much inbetween, it's more efficient the way you're doing it now.
8 comments or Leave a comment