# Progress towards faster \`sortperm\` for Strings

**URL:** <https://discourse.julialang.org/t/progress-towards-faster-sortperm-for-strings/8505>\
**Category:** Data\
**Tags:** performance, sortperm\
**Created:** [January 21, 2018, 2:04pm UTC](https://discourse.julialang.org/t/progress-towards-faster-sortperm-for-strings/8505 "2018-01-21T14:04:42Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![nalimilan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nalimilan/32/147_2.png) [@nalimilan](https://discourse.julialang.org/u/nalimilan)\
**Post date:** [January 21, 2018, 2:49pm UTC](https://discourse.julialang.org/t/progress-towards-faster-sortperm-for-strings/8505/3 "2018-01-21T14:49:25Z")

</div>

Also string interning incurs a cost when creating strings which may or may not be worth it depending on the number of times you perform grouping/sorting on the data. To take this into account one would need to include the time needed to create strings from raw bytes, or to read a text file.

In [the previous thread](https://discourse.julialang.org/t/wip-faster-string-sort/7671/65) you showed a graph where Julia was as fast as R. What’s the difference with the new graph? Is it just `sort` vs. `sortperm`?

---

_[View the full topic](https://discourse.julialang.org/t/progress-towards-faster-sortperm-for-strings/8505)._
