Skip to content

Parser, Lexer, Formatter, and Analysis Perf Improvements

Latest

Choose a tag to compare

@sbdchd sbdchd released this 29 Oct 13:53
· 5 commits to master since this release
a8cf181

Added

Changed

  • fmt: adjust cast & json_build_object special casing (#1411)

  • fmt: indent ops & funcs in create op class (#1421)

  • linter: update error messages to follow rustc style guide (#1437)

Fixed

Internal

  • parser: improve perf by 22.9% (#1414)

  • lexer: improve throughput by 23% (#1430)

  • fmt: improve perf by 78.8% (#1416)

  • syntax: upgrade rowan to latest, improve fmt perf by 4.4% (#1419)

  • fmt: upgrade tiny_pretty to 0.4.5, improve fmt perf by 9.8% (#1418)

  • ide: new semantic index (#1423, #1425)

    op before after
    find refs (pg_catalog in builtins.sql) 27,000ms 40ms
    semantic highlight (builtins.sql) 36,200ms 57ms
    goto def on now() 23ms 0.02ms
    goto def on int 23ms 0.02ms