search for: new_ifelse

Displaying 3 results from an estimated 3 matches for "new_ifelse".

2018 May 03
2
Proposed speedup of ifelse
...ld increase in speed. Even for small vectors, the > distributions of timings between the old and the proposed ifelse do > not intersect. For smaller vectors, your results are significantly affected by your invoking the old version via base::ifelse. You could try defining your new version as new_ifelse, and invoking the old version as just ifelse. There might still be some issues with the two versions having different context w.r.t environments, and hence looking up functions in different ways. You could copy the code of the old version and define it in the global environment just like new_ifel...
2018 May 08
1
Proposed speedup of ifelse
...> distributions of timings between the old and the proposed ifelse do > > > not intersect. > > > > For smaller vectors, your results are significantly affected by your > > invoking the old version via base::ifelse. You could try defining > > your new version as new_ifelse, and invoking the old version as just > > ifelse. There might still be some issues with the two versions having > > different context w.r.t environments, and hence looking up functions > > in different ways. You could copy the code of the old version and > > define it in t...
2018 May 04
0
Proposed speedup of ifelse
...r small vectors, the > > distributions of timings between the old and the proposed ifelse do > > not intersect. > > For smaller vectors, your results are significantly affected by your > invoking the old version via base::ifelse. You could try defining > your new version as new_ifelse, and invoking the old version as just > ifelse. There might still be some issues with the two versions having > different context w.r.t environments, and hence looking up functions > in different ways. You could copy the code of the old version and > define it in the global environmen...