@rstats people! Could you please help me find a solution to this problem I have just posted on StackOverflow?

https://stackoverflow.com/questions/74364357/get-codes-for-lowered-forms-in-the-same-data-table-faster-implementation-wanted

It's about data.table and a faster implementation of a specific problem. Reproducible example is given. Thank you all so much!

Get codes for lowered forms in the same data.table: Faster implementation wanted

I have a data.table x with approx. 2M rows and 2 columns: entry and code. entry contains character values that might be repeated elsewhere in entry in lowered form. Also, all-lower entries exist, t...

Stack Overflow