| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Currently, unpacker is state machine. There are some tweaks, but they are not very effective from performance perspective. Speed-up patches are welcome.
At first, ad-hoc reflection is very slow. So, we should use runtime code generation to improve performance. Caching serializers for the target type members is effective because avoding thread synchronization on the repository, so FieldBuilder is required. Therefore, basic strategy is using Reflection.Emit APIs, not Expression Trees nor Dynamic Methods. There is Dynamic Method mode, but it is only for WindowPhone.
To avoid infinite recusive type definition, put surrogate serializer on subsequent appearance. It delegates to "first" generated serializer at run time.
Using unsafe code for performance, but it is not very efficient.
Using CRT funcation for performance.
| Back | FazBrowse Home | New Git URL |