Inline the swap function.

    It makes stuff faster.
Fix alignment on structs.

    We were aligning big aggregates to 8, instead of to their most
    strict member. Oops.