Thanks Tim.
I confirm the proposed solution is over 10x faster, see
https://github.com/tdhock/atime/issues/29#issuecomment-1943037753 for
figure and source code.
On Mon, Jan 29, 2024 at 7:05 AM Tim Taylor
wrote:
>
> I wanted to raise the possibility of improving strcapture performance in
> cases
I was recently participating in a coding challenge which involved
converting integers to Roman numerals. I knew R offers this
functionality already via as.roman() and hoped to leverage that for a
quick solution, but was surprised that one of the challenge's tests
failed; conversion of the number 39