re additions for buffer (cstring) RE matching (#5117)
* Replace expr with untyped * Add buffer (cstring) related procs Replace expr with untyped Replace testing assert() procs with doAssert() * make the string variants call the cstring variants in order to fight code size * Remove redundant proc * fix casting of cstring add init of variables (identified by verbosity:3) * Speed up - use pattern.e for exec() inline some procs
This commit is contained in:
parent
108f5e688e
commit
704eae8495
2 changed files with 245 additions and 99 deletions
|
|
@ -21,7 +21,7 @@ type
|
|||
apart: array[ArrayPartSize, T]
|
||||
UncheckedArray* {.unchecked.}[T] = array[0..100_000_000, T]
|
||||
|
||||
template usesSeqPart(x): expr = x.L > ArrayPartSize
|
||||
template usesSeqPart(x): untyped = x.L > ArrayPartSize
|
||||
|
||||
proc initRtArray*[T](len: Natural): RtArray[T] =
|
||||
result.L = len
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue