Christopher Horobin @chorobin.bsky.social · 20/12/2024My favourite is this because it seems types can be instantiated lazily when properties are used on a interface. But the test cases obviously fully instantiate the types so it does not show 010
Christopher Horobin @chorobin.bsky.social · 20/12/2024My first solution was this, but of course it could be more efficient 110
Christopher Horobin @chorobin.bsky.social · 19/12/2024If you know some code will never go down some conditional branch then instantiations can be reduced by adding additional conditionals. This lowers it to 5013 instantiations 200
Christopher Horobin @chorobin.bsky.social · 19/12/2024This was my first solution. With the given test cases it had 6524 instantiations 110