Pre-allocated void schema?
hediyi opened this issue · comments
hediyi commented
due to the nature of the void schema type, having a bunch of void schemas allocated isn't necessary, we could
- keep the class, and export a pre-allocated void schema
- just make the void schema type a singleton
Mikola Lysenko commented
Its not clear that this is a significant cost. You could make a global variable I guess, but it doesn't seem like a big win.