dbosak01 / libr

An R package to create data libraries and data dictionaries.
27 stars 1 forks source link

copy_attributes is slowing down datastep #156

Closed dbosak01 closed 8 months ago

dbosak01 commented 8 months ago

There is a function copy_attributes which copies attributes from the original dataset to each new row in the program vector. It loops through each column in the input dataset every row. This will be very slow if there are a lot of columns. Do something to improve performance.