1
0
Fork 0
forked from OpenNeo/impress
impress/app
Matchu eab14e31fd waaay speed up Pet#translate_items
A few key changes:
  * Don't reload the whole pet 8 times!! Sooo many bad things
    happen, including redundant lookups of everything else and
    too many item saves and reindexes. Instead, fetch the item
    data, apply it to the items, and then save the items (once
    each!)
  * Updated my branch of globalize3 to be even better at avoiding
    redundant queries when saving. Woo.
  * Last realization: wrapping all the item saves in a single
    transaction works wonders. COMMIT seems to have high overhead,
    so doing only one took it from 50ms * 10 or whatever to 60ms.
    Good stuff.
2013-01-28 15:18:11 -06:00
..
controllers re-enable item translations, now that i made a corresponding server config change 2013-01-28 13:11:28 -06:00
flex user:owns, user:wants queries 2013-01-25 10:35:35 -06:00
helpers localize outfits#edit search helpers 2013-01-26 11:11:42 -06:00
models waaay speed up Pet#translate_items 2013-01-28 15:18:11 -06:00
stylesheets localize outfits#edit wear/unwear/closet/uncloset 2013-01-26 11:58:16 -06:00
views localize outfits#_outfit 2013-01-26 12:42:38 -06:00