Commit Graph
6 Commits
Author SHA1 Message Date
David Nadoba 364b26d86d Add allocation test that parses all WebPKI roots (#97)
* Setup allocation test framework

* Add allocation test that decodes all WebPKI Roots

* Replace _WebPKI with inline PEM strings

* Fix test

* revert changes

* delete unused test

* Add loop

* update allocation numbers for Linux

* replace with do/catch with try!
2023-06-21 15:43:02 +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 7144db521e Add docker-compose file for Swift 5.9 (#63) 2023-04-12 17:53:05 -07:00
David Nadoba 29ba02b3cc Add Swift 5.8 CI 2023-01-17 20:29:17 +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