What is the fastest way to read/write GPIOs on SAMD21 boards?

@Koepel weeell. i did say i have im still trying to upload a bootloader on my board so i cannot test things for myself hehe.

But it would be great to include them in my library so that the library will be independent from the arduinos.