# WIP: faster string sort

**URL:** <https://discourse.julialang.org/t/wip-faster-string-sort/7671>\
**Category:** Internals & Design\
**Tags:** strings, sort\
**Created:** [December 10, 2017, 11:54am UTC](https://discourse.julialang.org/t/wip-faster-string-sort/7671 "2017-12-10T11:54:40Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [December 18, 2017, 2:20am UTC](https://discourse.julialang.org/t/wip-faster-string-sort/7671/16 "2017-12-18T02:20:24Z")

</div>

Also, don’t time in global scope. Do

```nohighlight
foo(v) = codeunit_check_length.(v, 8)
@time foo(svec1)

```

if not `@btime foo($svec1)`.

Also, note that you are timing memory allocation of the output vector etcetera. I’m not clear on how exactly you are deciding how fast you need this to be.

---

_[View the full topic](https://discourse.julialang.org/t/wip-faster-string-sort/7671)._
