liveh2o / active_remote

Active Remote provides Active Record-like object-relational mapping over RPC. It's Active Record for your platform.
MIT License
63 stars 23 forks source link

Init from rpc #56

Closed brianstien closed 7 years ago

brianstien commented 7 years ago

This improves the performance of the handoff from rpc response to creating a new object. There are some significant time savings by bypassing all of the setters.

This will set the attributes hash directly when we get a response from rpc, bypassing the setters but still doing type casting.