Swift Playgrounds Hardware Compatibility

Is it compatible for iPad Mini 2? I know 12.4 is the last iOS compatible for it, but I wanted to know if it’s compatible for the Mini 2 series. The only issue I have with it is that it’s just very slow when running code, typing and code, and initializing the playground on the Mini 2