# Optimization tips for my julia code. Can I make it even faster and/or memory efficient?

**URL:** <https://discourse.julialang.org/t/optimization-tips-for-my-julia-code-can-i-make-it-even-faster-and-or-memory-efficient/34614>\
**Category:** Performance\
**Tags:** question, python\
**Created:** [February 14, 2020, 8:54am UTC](https://discourse.julialang.org/t/optimization-tips-for-my-julia-code-can-i-make-it-even-faster-and-or-memory-efficient/34614 "2020-02-14T08:54:26Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![PyDataBlog](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pydatablog/32/12327_2.png) [@PyDataBlog](https://discourse.julialang.org/u/PyDataBlog)\
**Post date:** [February 15, 2020, 2:22pm UTC](https://discourse.julialang.org/t/optimization-tips-for-my-julia-code-can-i-make-it-even-faster-and-or-memory-efficient/34614/25 "2020-02-15T14:22:49Z")

</div>

> [@oxinabox](#):
>
> I suggest benchmarking against it’s current implementation, and if your code is faster, make a PR.

@Skoffer would be the best person for the PR since he came up with the optimizations. From all the benchmarking results, this implementation is faster and more memory efficient than the current implementation in Clustering.jl.

It’s worth making a PR @Skoffer 🙂 .

---

_[View the full topic](https://discourse.julialang.org/t/optimization-tips-for-my-julia-code-can-i-make-it-even-faster-and-or-memory-efficient/34614)._
