all repos

clerk @ 5e60b81

missing tooling for ledger/hledger
1 files changed, 1 insertions(+), 1 deletions(-)
parser: increase preallocated size of account segments
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2026-09-03 13:51:47 +0300
Authored at: 2026-09-03 13:20:43 +0300
Change ID: nuvywqzsuunllwwywmvxrsvmkuquptuv
Parent: 17c786e
M journal/parser/parser.go
ยทยทยท
        1090
        1090
         

      
        1091
        1091
         func (p *Parser) parseAccount() ast.Account {

      
        1092
        1092
         	s := p.cur.Span

      
        1093
        
        -	acc := ast.Account{Name: make([]ast.SubAccount, 0, 2)}

      
        
        1093
        +	acc := ast.Account{Name: make([]ast.SubAccount, 0, 6)}

      
        1094
        1094
         

      
        1095
        1095
         	sub, ok := p.readAccountSegment()

      
        1096
        1096
         	if !ok {