Documentation
- Home /
- Documentation
VecInitWithDeepCopy
VecInitWithDeepCopy Description Initialize vector. Default alignment is 1 It is mandatory to initialize vectors before use. Not doing so is undefined behaviour.
Read MoreVecInitWithDeepCopyStack
VecInitWithDeepCopyStack Description Initialize given vector using memory from stack. Such vectors cannot be dynamically resized. Doing so is UB. It is mandatory to initialize vectors before use. Not doing so is undefined behaviour. These vectors are best used where user doesn’t get a chance to or does not want to deinit vector, given that no data in vector needs to be deinitialized. Example includes, but does not limit to a Vec(i8), Vec(f32), etc… Stack inited vectors mustn’t be deinited after use.
Read MoreVecInitWithDeepCopyT
VecInitWithDeepCopyT Description Initialize given vector. Default alignment is 1 It is mandatory to initialize vectors before use. Not doing so is undefined behaviour.
Read MoreVecInsertFast
VecInsertFast Description By default this behaves like inserting an l-value using VecInsertFastL
Read MoreVecInsertFastL
VecInsertFastL Description Quickly insert item into vector. Ordering of elements is not guaranteed to be preserved. This call makes significant difference only for sufficiently large vectors and when idx is quite less than (v)->length. Insertion time is guaranteed to be constant for same data types. Usage is exactly same as VecInsert, just the internal implementation is different.
Read MoreVecInsertFastR
VecInsertFastR Description Quickly insert item into vector. Ordering of elements is not guaranteed to be preserved. This call makes significant difference only for sufficiently large vectors and when idx is quite less than (v)->length. Insertion time is guaranteed to be constant for same data types. Usage is exactly same as VecInsert, just the internal implementation is different.
Read MoreVecInsertL
VecInsertL Description Insert an l-value into vector of it’s type. Insertion index must not exceed vector length. This preserves the ordering of elements. Best to be used with sorted vectors, if the sorted property is to be preserved.
Read MoreVecInsertR
VecInsertR Description Insert an r-value into vector of it’s type. Insertion index must not exceed vector length. This preserves the ordering of elements. Best to be used with sorted vectors, if the sorted property is to be preserved. In worst case this would to to O(n)
Read MoreVecInsertRange
VecInsertRange Description Insert array of items into vector of it’s type. By default, this uses L-value semantics (ownership transfer). Insertion index must not exceed vector length. This preserves the ordering of elements. Best to be used with sorted vectors, if the sorted property is to be preserved.
Read MoreCategories
Tags
- 16-Bit
- 32-Bit
- 64-Bit
- Access
- Aligned
- Alignment
- All
- Allocation
- Analysis
- And
- Any
- Append
- Approximate
- Array
- ASCII
- Bioinformatics
- BitVec
- Bitwise
- Boolean
- Byte
- Bytes
- Callback
- Capacity
- Case
- Character
- Check
- Circular
- Cleanup
- Clear
- Clone
- Compare
- Comparison
- Container
- ContainsAt
- Control
- Convenience
- Conversion
- Convert
- Copy
- Correlation
- Cosine
- Count
- CString
- Deadend
- Deallocation
- DeepCopy
- DeepDeinit
- Deinit
- Detection
- Directory
- Disjoint
- Distance
- DotProduct
- Driver
- EditDistance
- Efficient
- Empty
- Endianness
- EndsWith
- Entropy
- Equal
- Equals
- Error
- EscapeSequences
- Export
- Fatal
- File
- FileSystem
- Find
- FindAll
- FindLast
- First
- Flip
- Float
- Format
- Formatting
- Function
- Fuzzy
- Generic
- Get
- Hamming
- Helper
- Hexadecimal
- I/O
- Import
- Info
- Information
- Init
- Initialization
- Insert
- Integer
- Intersection
- Iter
- Iterator
- Jaccard
- JSON
- KeyValue
- Last
- Left
- Length
- Lexicographic
- Logging
- LongestRun
- LowLevel
- Macro
- Match
- Math
- Max
- Memory
- Metadata
- Min
- Modify
- Multiple
- Native
- Nested
- None
- Not
- NullValue
- Number
- Numeric
- Numerical
- Object
- Ones
- Operation
- Optimize
- Or
- Order
- Overlap
- Overlaps
- Parsing
- Pattern
- Peek
- Platform
- Pointer
- Pop
- Population
- Pos
- Position
- PowerOfTwo
- Predicate
- Prefix
- Printable
- Process
- Push
- Query
- Range
- Read
- Reader
- Regex
- Remove
- Replace
- ReplaceAll
- Reserve
- Reset
- Resize
- Reverse
- RFind
- Right
- Rotate
- RunLength
- Safety
- Search
- Sequence
- Set
- Shift
- Shrink
- Signed
- Similarity
- Simple
- Single
- Size
- Sorted
- Stack
- StartsWith
- Statistics
- Status
- Stdin
- Stdout
- Str
- Strict
- String
- StrIter
- Structure
- Subset
- Suffix
- Suite
- Superset
- Swap
- Synchronization
- System
- Test
- Testing
- Threading
- Toggle
- Transform
- TypeConversion
- TypeSafety
- Utility
- Validation
- Value
- Vec
- Vector
- Weight
- Whitespace
- Wildcard
- Wrapper
- Writer
- Xor
- Zeros