WebAssembly Bulk Memory Operations
The bulk-memory instructions (memory.copy, memory.fill, memory.init) replace byte-at-a-time loops with single instructions the engine lowers to optimized memcpy/memset, and let data segments initialize memory lazily. They are baseline in all engines and are what makes large in-memory moves cheap.
This Concept is waiting for its first lesson!
The bulk-memory instructions (memory.copy, memory.fill, memory.init) replace byte-at-a-time loops with single instructions the engine lowers to optimized memcpy/memset, and let data segments initialize memory lazily. They are baseline in all engines and are what makes large in-memory moves cheap.
Are you a teacher? Sign in to start contributing.
Sign In