Reduced memory allocations
This commit is contained in:
parent
58eed722c1
commit
814364612f
3 changed files with 11 additions and 3 deletions
|
@ -27,7 +27,6 @@ func NewFunction(name string, file *fs.File, body token.List) *Function {
|
|||
state: state{
|
||||
assembler: asm.Assembler{
|
||||
Instructions: make([]asm.Instruction, 0, 32),
|
||||
Data: map[string][]byte{},
|
||||
},
|
||||
cpu: cpu.CPU{
|
||||
All: x64.AllRegisters,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue