package base_bigstring
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
String type based on [Bigarray], for use in I/O and C-bindings
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=0c77edb9db4f29797cd5c22dd07fdbe4ff668715be870b86dcc1d849730b8562
doc/CHANGES.html
Release v0.17.0
Removed parameters and attributes:
- Removed
max_mem_waiting_gc_in_bytesparameter fromBase_bigstring.create
- Removed
Added functions:
Base_bigstring.unsafe_memsetfor filling a range with a character without bounds checksBase_bigstring.memcmp_stringfor efficient comparison betweenBigstringandstringdataBase_bigstring.get_stringandBase_bigstring.unsafe_get_string(also inBase_bigstring.Local) for obtaining strings with specified position and length, avoiding optional arguments
Improved performance of accessors which convert a 64-bit integer to an
int:Base_bigstring.get_int64_le_exnBase_bigstring.get_int64_be_exnBase_bigstring.get_uint64_le_exnBase_bigstring.get_uint64_be_exnBase_bigstring.unsafe_get_int64_le_exnBase_bigstring.unsafe_get_int64_be_exnBase_bigstring.unsafe_get_uint64_le_exnBase_bigstring.unsafe_get_uint64_be_exn
Release v0.16.0:
Improved support for locals (stack allocation):
- Add
[@local]attribute to thetarguments oflength,unsafe_set_int8,unsafe_set_int16_le,unsafe_set_int16_be,unsafe_set_int32_leandunsafe_set_int32_be. - Likewise for the
Int64.targuments ofset_int64_t_le,set_int64_t_be,unsafe_set_int64_t_le, andunsafe_set_int64_t_be. - Add new
Localmodule providingget_int64_t_le,get_int64_t_be,unsafe_get_int64_t_le, andunsafe_get_int64_t_befunctions that return localInt64.tvalues.
- 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 ofneedlein a substring ofhaystackwith optional parameters for positions and lengths; returns anint optionunsafe_memmem: unsafe version ofmemmemfunction, without bounds checks
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page