- end until m = lb.match(/init \(bytes\):[\s]*([\d]*)/)
- initstack = m[1].to_i()
- lb = fin.readline()
- m = lb.match(/nextBlock \(bytes\):[\s]*([\d]*)/)
- nextblockstack = m[1].to_i()
- lb = fin.readline()
- m = lb.match(/lastBlock \(bytes\):[\s]*([\d]*)/)
- lastblockstack = m[1].to_i()
- lb = fin.readline()
- m = lb.match(/ctx2hash \(bytes\):[\s]*([\d]*)/)
- convstack = m[1].to_i()
- s1 = (initstack>nextblockstack)?initstack:nextblockstack
- s2 = (lastblockstack>convstack)?lastblockstack:convstack
- stack = (s1>s2)?s1:s2
- size = get_size_string(fsize)
- printf("| %20s || %3s || %3s \n| %s \n| %4d || %4d || %4d || %4d ||" +
- " %6d || %6d || %7.2f || %6d || || || \n|-\n" ,
- name, $lang, $lang, size, ctxsize, stack, hashsize, blocksize,
+ m = lb.match(/nextBlock \(bytes\):[\s]*([\d]*)/)
+ nextblockstack = m[1].to_i()
+ lb = fin.readline()
+ m = lb.match(/lastBlock \(bytes\):[\s]*([\d]*)/)
+ lastblockstack = m[1].to_i()
+ lb = fin.readline()
+ m = lb.match(/ctx2hash \(bytes\):[\s]*([\d]*)/)
+ convstack = m[1].to_i()
+ s1 = (initstack>nextblockstack)?initstack:nextblockstack
+ s2 = (lastblockstack>convstack)?lastblockstack:convstack
+ stack = (s1>s2)?s1:s2
+ else
+ stack = 0
+ end
+ size = get_size_string(impl, name)
+ printf("| %20s || %6s || %3s || %6d || %7d || %7d || %7d || %7d ||" +
+ " %7d || %7d || %9.2f || %7d || || || \n|-\n" ,
+ name, $variant, $lang, size, ctxsize, stack, hashsize, blocksize,