The Flyweight
Sharing spectral intrinsic state to conserve the physical memory limits of the phylactery.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Flyweight
ARCANUM SCHOOL: Necromancy // Essence Compaction
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// BARE METAL ARCHITECTURE RUNE //
section .data
; Shared intrinsic state: mesh data, texture coords
shared_skeleton_essence db "SKELETON_MESH_V1", 0
section .bss
; Extrinsic state array: x, y coordinates
horde_positions resq 1000
section .text
global _start
_start:
; Render horde using shared essence
mov rsi, shared_skeleton_essence
mov rdi, horde_positions
; ... execution loop ...
mov rax, 60
syscall
The Flyweight pattern achieves massive scalability by isolating intrinsic, unchanging essence into a single data segment. The extrinsic, unique properties (like the position of each skeleton in the horde) are kept minimal, allowing the practitioner to summon thousands within tight memory constraints.
Runic Tags:
#flyweight
#assembly
#structural
#necromancy