remove ArrayDummySize with unchecked arrays (#5818)
This commit is contained in:
parent
b2aae477d1
commit
22684370b0
11 changed files with 25 additions and 28 deletions
|
|
@ -9,10 +9,8 @@
|
|||
|
||||
## Shared string support for Nim.
|
||||
|
||||
const ArrayDummySize = when defined(cpu16): 10_000 else: 100_000_000
|
||||
|
||||
type
|
||||
UncheckedCharArray {.unchecked.} = array[0..ArrayDummySize, char]
|
||||
UncheckedCharArray = UncheckedArray[char]
|
||||
|
||||
type
|
||||
Buffer = ptr object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue