📐 PASCAL WARDS DIFFICULTY: Archmage Structural

The Flyweight

Conserving magical essence by sharing immutable spell fragments.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Flyweight
ARCANUM SCHOOL: Abjuration // Efficiency
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// PASCAL PATTERN //
unit FlyweightPattern;
interface
type
  TSpellFragment = class
  public
    procedure Cast(Context: Integer);
  end;
implementation
end.

Rigorous caching of magical patterns ensures minimal mana is wasted on redundant constructs.

Runic Tags: #memory #sharing #efficiency