Christopher Horobin
chorobin.bsky.social
Christopher Horobin
@chorobin.bsky.social
🌌 Type spacer
Foget types. Time to board
January 17, 2025 at 8:24 PM
My 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
December 20, 2024 at 4:45 PM
My first solution was this, but of course it could be more efficient
December 20, 2024 at 4:42 PM
If 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
December 19, 2024 at 8:04 PM
This was my first solution. With the given test cases it had 6524 instantiations
December 19, 2024 at 7:59 PM