using swap to avoid unnecessary copying
using swap to avoid unnecessary copying

danieldresser/cortex,goddardl/cortex,danieldresser/cortex,davidsminor/cortex,hradec/cortex,hradec/cortex,appleseedhq/cortex,goddardl/cortex,appleseedhq/cortex,lento/cortex,lento/cortex,davidsminor/cortex,davidsminor/cortex,goddardl/cortex,hradec/cortex,danieldresser/cortex,danieldresser/cortex,lento/cortex,appleseedhq/cortex,davidsminor/cortex