NAME

LNATION - XS accelerated Perl utilities

DESCRIPTION

This distribution provides three independent XS modules:

  • slot - Global reactive state slots with optional watchers

  • util - Functional programming utilities with XS acceleration

  • noop - No-operation functions for benchmarking and testing

MODULES

slot

use slot qw(app_name debug);

app_name("MyApp");
print app_name();

Global reactive state slots shared across packages with optional watchers for reactive programming. All slot:: functions are optimized to custom ops when called with constant names.

See slot for full documentation.

util

use util qw(is_array is_hash memo pipeline trim ...);

Fast functional programming utilities including type predicates, memoization, pipelines, lazy evaluation, and more. Many functions use custom ops for compile-time optimization.

See util for full documentation.

noop

use noop;

noop::pp();   # Pure Perl no-op
noop::xs();   # XS no-op

Minimal no-operation functions for benchmarking overhead and baseline performance testing.

See noop for full documentation.

AUTHOR

LNATION <email@lnation.org>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.