You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For small binaries an elixir implementation can be more performant especially for nerves devices.
If we implement non-NIF version for CRC algorithm we could add an optional parameter to use the non-NIF calculation for users who know their payloads are small and would prefer to not load the NIF.
During implementation we have the NIFs to unit test against.
If useful we could also look at adding an optional threshold param to use vs not use the NIF.
Goals:
pure elixir CRC algorithm implementation
Support for all models the NIF supports.
Unit test elixir calculation with NIF implementation.
crc/2 & calculate/2 takes optional param to choose not to use NIF, should default to current behavior of using NIF
☝️ default switched to not use NIF
The text was updated successfully, but these errors were encountered:
For small binaries an elixir implementation can be more performant especially for nerves devices.
If we implement non-NIF version for CRC algorithm we could add an optional parameter to use the non-NIF calculation for users who know their payloads are small and would prefer to not load the NIF.
During implementation we have the NIFs to unit test against.
If useful we could also look at adding an optional threshold param to use vs not use the NIF.
Goals:
crc/2
&calculate/2
takes optional param to choose not to use NIF, should default to current behavior of using NIFThe text was updated successfully, but these errors were encountered: