Exported text_size and moved the unit test
Exported text_size and moved the unit test
Error with badarg when text_size gets bad input
Error with badarg when text_size gets bad input
Added longtext inside shorttext speedup
Added longtext inside shorttext speedup