Skip to content

Instantly share code, notes, and snippets.

View MasonProtter's full-sized avatar

Mason Protter MasonProtter

View GitHub Profile
@MasonProtter
MasonProtter / jarrays.jl
Created September 29, 2023 14:00 — forked from mdmaas/jarrays.jl
Simple performance benchmark of Julia custom array types
using LoopVectorization
using Bumper
using StrideArraysCore
using StaticTools
set_default_buffer_size!(1000)
@inline function sumArray_alloc(N)
smallarray = Array{Float64}(undef,N)
@turbo for i ∈ 1:N