> Disable Schematics Validation ... There's a cool Python trick to create an object while skipping the __init__ function.<p>Yes, but now every single time you update the library which provided the base class, you need to re-verify that __init__ doesn't do anything new. May be worth the tradeoff, but it really should be noted.
Seems like a good use case for protocol buffers [1].<p>[1]<a href="https://developers.google.com/protocol-buffers/?hl=en" rel="nofollow">https://developers.google.com/protocol-buffers/?hl=en</a>
TL;DR: Things get faster if you disable validation and parse dates using more specialized code. Duh.<p>It's humorous when someone who presumably cares about performance tells you they use Python. Python is a wonderful language, but performance is not what it is designed for. Basically _anything_ that does not require an interpreter to run will be 10-30x faster on the same hardware, and most will also consume less RAM and be able to use more than one core on the system efficiently. It used to be that Python's lack of performance didn't matter because disks and networks were so slow things were IO bound. In more and more cases that's just not true anymore. You could be easily reading at 1GB+/sec and pushing 10-20Gbps to NICs, depending on the hardware.