I was experimenting with different uses of pointers. Turns out that in a larger dataset, pointer might conserve memory and hence offer some speed advantage. Those interested might find this code interesting. https://fintechprofessor.com/2021/12...in-mata-stata/
0 Response to Speed comparison: Passing data vector by name vs pointers in Mata | Stata
Post a Comment