summaryrefslogtreecommitdiff
path: root/t/t4018/matlab-octave-section-2
diff options
context:
space:
mode:
authorLibravatar ZheNing Hu <adlternative@gmail.com>2021-05-13 15:15:37 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-05-14 06:37:27 +0900
commit0caf20f22806dfd478ab3ac26b5f3682f383d3b4 (patch)
tree83595bc4c78dae49c7d97ee434effc3dfffc0499 /t/t4018/matlab-octave-section-2
parentThe sixteenth batch (diff)
downloadtgif-0caf20f22806dfd478ab3ac26b5f3682f383d3b4.tar.xz
ref-filter: add objectsize to used_atom
When the support for "objectsize:disk" was bolted onto the existing support for "objectsize", it didn't follow the usual pattern for handling "atomtype:modifier", which reads the <modifier> part just once while parsing the format string, and store the parsed result in the union in the used_atom structure, so that the string form of it does not have to be parsed over and over at runtime (e.g. in grab_common_values()). Add a new member `objectsize` to the union `used_atom.u`, so that we can separate the check of <modifier> from the check of <atomtype>, this will bring scalability to atom `%(objectsize)`. Signed-off-by: ZheNing Hu <adlternative@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/matlab-octave-section-2')
0 files changed, 0 insertions, 0 deletions