Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • new reshape speed welcome

    I had the chance to run a reshape on a long dataset to a wide dataset resulting in 1003 variables. The speed savings was 125x, comparing 12.5 seconds (favor(memory)) to 0.1 seconds (favor(speed)). Very nice, thanks.

  • #2
    Agreed. I’m using this for some large data work and it’s comparable to -greshape- in my application.

    Comment


    • #3
      For context, the 04oct2023 update lists in whatsnew:

      1. reshape has new option favor(), which allows you to specify that Stata favor memory or speed when reshaping data. New setting set reshape_favor allows you to do the same thing.

      When reshape favors speed, it now reshapes the data much faster. Depending on the size of the dataset, the reshape may be 10 times, 100 times, or even more times faster.
      Great improvement; thanks.

      Comment

      Working...
      X