perl-builtins-phf 0.12.0

PHF-backed Perl builtin signature tables for O(1) lookup
Documentation
  • Coverage
  • 100%
    6 out of 6 items documented0 out of 3 items with examples
  • Size
  • Source code size: 97.65 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.46 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 39s Average build duration of successful builds.
  • all releases: 31s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • EffortlessMetrics/perl-lsp
    0 1 67
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • EffortlessSteven

perl-builtins-phf

Compile-time PHF maps for Perl builtin function signatures.

This crate is intentionally narrow: it provides static lookup tables and helper functions for identifying builtins and retrieving parameter names/signatures in O(1) time with zero runtime allocation.

API

  • BUILTIN_SIGS
  • BUILTIN_FULL_SIGS
  • get_param_names(name)
  • is_builtin(name)
  • builtin_count()