Skip to content

Instantly share code, notes, and snippets.

James Cook jwscook

Block or report user

Report or block jwscook

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jwscook
jwscook / Functionals.jl
Created Jun 9, 2018
Avoiding functions in types; performance comparison & invitation for code review
View Functionals.jl
module Functionals
abstract type Abstract end
type Functional <: Abstract
lower::Float64
upper::Float64
end
Functional(t::Float64) = Functional(0.0, 12.0 * t)
You can’t perform that action at this time.