# Diff! (in-place or preallocated output version of diff)

**URL:** <https://discourse.julialang.org/t/diff-in-place-or-preallocated-output-version-of-diff/41949>\
**Category:** Performance\
**Tags:** question\
**Created:** [June 23, 2020, 6:12pm UTC](https://discourse.julialang.org/t/diff-in-place-or-preallocated-output-version-of-diff/41949 "2020-06-23T18:12:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![baggepinnen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baggepinnen/32/693_2.png) [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Post date:** [June 23, 2020, 6:22pm UTC](https://discourse.julialang.org/t/diff-in-place-or-preallocated-output-version-of-diff/41949/2 "2020-06-23T18:22:16Z")

</div>

You might find this package of interest

> [@\[ANN\]: StaticKernels.jl - Fast Kernel Operations on Arrays](https://discourse.julialang.org/t/ann-statickernels-jl-fast-kernel-operations-on-arrays/37658):
>
> [StaticKernels.jl](https://github.com/stev47/StaticKernels.jl) is a new package that aims to enable easy and fast execution of kernel operations on arrays, e.g. finite differences, convolutions, image filters and morphological operations, etc. custom kernel functions in arbitrary dimensions custom boundary handling allocation-free execution small size (currently ~300 loc) and dependency free Introduction You can think of a Kernel as a function that takes a neighbourhood Window view on the underlying data as an argument. The kernel funct…

---

_[View the full topic](https://discourse.julialang.org/t/diff-in-place-or-preallocated-output-version-of-diff/41949)._
