Commit Graph
8 Commits
Author SHA1 Message Date
David Nadoba b4e5ab60a5 delete old integration tests 2023-08-24 11:05:13 +01:00
David Nadoba d432a4fd2d adopt swift-format for benchmarks 2023-08-23 15:48:18 +01:00
David Nadoba 45ad9935c7 Adopt apple/swift-format (#121)
* Adopt `apple/swift-format`

* install swift-format

* set `UseSynthesizedInitializer` to `false` until bug is fixed https://github.com/apple/swift-format/issues/591

* fix license header

* Fix license header
2023-08-16 11:17:34 +01:00
David Nadoba 41dff30819 Implement TinyArray (#98)
* Implement TinyArray

* update cmake

* “Hide” enum and support storing arrays of exactly one element in `.arbitrary`

* Add allocation tests for TinyArray

* make arrays of different sizes

* Remove array optimisation

* run append in a loop

* Move _TinyArray into a separate module

and apply review feedback

* update cmake files

* remove unused Foundation import

* Allocations are lower by “1” on Linux
2023-06-20 01:51:53 -07:00
David Nadoba 4a668badd3 Setup allocation test framework (#96) 2023-06-19 12:13:43 +02:00
Yim Lee 95ff310423 Setup CMake build (#29) 2023-03-02 14:11:09 -08:00
David Nadoba f510662b25 Its 2023 and we should accept new files 2023-01-12 11:41:13 +01:00
David Nadoba 763ea6435a Add docker compose files and scripts for CI
and use correct license header name
2022-11-28 11:38:15 +01:00