Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 296 Bytes

File metadata and controls

13 lines (7 loc) · 296 Bytes

Prototype

Purpose

To avoid the cost of creating objects the standard way (new Foo()) and instead create a prototype and clone it.

Examples

  • Large amounts of data (e.g. create 1,000,000 rows in a database at once via a ORM).

UML Diagram

Alt Prototype UML Diagram