package base_bigstring
String type based on [Bigarray], for use in I/O and C-bindings
Install
Dune Dependency
Authors
Maintainers
Sources
base_bigstring-v0.16.0.tar.gz
sha256=19fcbf8fa1fa557d513679413a9087e4ff1cb846cef1e8a78eaffb293fa926c3
doc/CHANGES.html
Release v0.16.0:
Improved support for locals (stack allocation):
- Add
[@local]
attribute to thet
arguments oflength
,unsafe_set_int8
,unsafe_set_int16_le
,unsafe_set_int16_be
,unsafe_set_int32_le
andunsafe_set_int32_be
. - Likewise for the
Int64.t
arguments ofset_int64_t_le
,set_int64_t_be
,unsafe_set_int64_t_le
, andunsafe_set_int64_t_be
. - Add new
Local
module providingget_int64_t_le
,get_int64_t_be
,unsafe_get_int64_t_le
, andunsafe_get_int64_t_be
functions that return localInt64.t
values.
- Add
New functions:
unsafe_get
: retrieves character at specified position, without bounds checksunsafe_set
: sets character at specified position, without bounds checksmemmem
: searches for the position of a substring ofneedle
in a substring ofhaystack
with optional parameters for positions and lengths; returns anint option
unsafe_memmem
: unsafe version ofmemmem
function, without bounds checks
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>