diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-18 11:48:20 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-21 10:10:07 -0800 |
commit | 95a1be5747a430ff408bf88f50452fe936c785b2 (patch) | |
tree | a465baa97aa565cadcc508231e08ac63aa12e16c /js/bench.js | |
parent | fcc419a04e5db89586edb0fb29707144225e129b (diff) |
Moved continuation checks & finalizers into blocks property.
This is a first step towards keeping the code for each kind of
block in a central place, rather than spread all over the code
base.
This is preparatory for a more modular structure, where each
type of block has a record describing how it is parsed and
finalized.
Eventually this will also contain functions for checking for
a block start, and metadata that determines how line data
should be handled.
There is a small performance penalty (about 3%?) but it seems
worth it.
Diffstat (limited to 'js/bench.js')
0 files changed, 0 insertions, 0 deletions