scootpl / StructVsClassPerformance

A demonstration of how much structures can be more performant than class.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demonstrates how structures can be more performant than classes.

Tests are done for structs/classes with 1 and 10 fields.

Compiler settings:
LLVM -Ofast
Swift Compiler -O -whole-module-optimization

About

A demonstration of how much structures can be more performant than class.


Languages

Language:Swift 100.0%