Skip to content

version 0.5.0

Latest

Choose a tag to compare

@masatake masatake released this 14 Apr 00:39
· 2 commits to master since this release
34b048d
  • improve performance; put inline keyword on hot spot functions.

    before this change (0.4.0)

              $ /bin/time ~/bin/readtags -t ~/.citre/kernel82.tags -l > /dev/null
              7.68user 0.15system 0:07.88elapsed 99%CPU (0avgtext+0avgdata 2819592maxresident)k
              0inputs+0outputs (0major+44138minor)pagefaults 0swaps
    

    after this change

              $ /bin/time ~/bin/readtags -t ~/.citre/kernel82.tags -l > /dev/null
              4.67user 0.19system 0:04.89elapsed 99%CPU (0avgtext+0avgdata 2819612maxresident)k
              0inputs+0outputs (0major+44137minor)pagefaults 0swaps
    
  • fix an integer overflow occurring when a tag has too many fields.

    The original issue was reported by Arthur Chan
    arthur.chan@adalogics.com from Ada Logics in collaboration with
    Claude and Anthropic Research.

What's Changed

  • Put inline keyword on a hot spot function by @masatake in #57
  • Include inline.h only when HAVE_CTAGS_INLINE_H is defined by @masatake in #58
  • ci: run the test on Fedora42 by @masatake in #61
  • Enable Codecov by @masatake in #62
  • Make one more function inine and use a table instead of switch/case by @masatake in #60
  • Fix an integer overflow occurring when a tag has too many fields by @masatake in #63
  • Version 0.5.0 by @masatake in #64

Full Changelog: v0.4.0...v0.5.0