I like it when people post such snippets. But there is a function in the base library, rle(), which will do the same and is faster.
Thanks JLMC
Post a Comment
2 comments:
I like it when people post such snippets. But there is a function in the base library, rle(), which will do the same and is faster.
Thanks JLMC
Post a Comment