Sounds reasonable, thanks ...it's nice to have the two options when creating & accessing json. Appreciate the feedback gnite-
On 6/9/07, Christophe Porteneuve <[EMAIL PROTECTED]> wrote: > > > Hey Mark, > > Mark Holton a écrit : > > Sorry for the confusion earlier. (which do you think is a better/ > > faster structure to access -- the array of hashes, or this JSON > > above?). Your thoughts? > > They're probably equivalent from a performance standpoint. It all > depends on what makes more sense from a business perspective: accessing > your items by name or numerical index? If the former, use your current > variant, if the latter, go for an array. > > -- > Christophe Porteneuve aka TDD > [EMAIL PROTECTED] > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
