Breaking changes
- Breaking:
SizedMemory
is now internal
_Other _
- Now falls back to generic code if
ENV["JULIA_CPU_TARGET"]
is set. - Use libc memchr when byteset length is one
- Add more set ops to
ByteSet
- Optimise ByteSet
- Optimise
memchr(x, ::Byte)
by calling libc's memchr - Add generic method
memchr(::Any, x)
, automatically creatingSizedMemory
from x
Fix issue #3 - SIMD fallback warning only emitted at package precompile time.
Breaking changes
gen_scan_function
has been removed. Instead, you should now scan for multiple bytes by callingmemchr(::SizedMemory, Val(byteset))
.
Breaking changes
SizedMemory(x)
now requires thatx
implementssizeof
New features
- New function
memchr(x::SizedMemory, b::UInt8)
, which finds the first position ofb
inx
.
Initial release