2013-11-20 22:25:03 +01:00
..
2013-09-13 14:34:13 +02:00
2013-09-24 14:02:52 +02:00
2013-09-13 14:34:13 +02:00
2013-11-20 22:25:03 +01:00
2013-09-24 14:02:52 +02:00

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)