[ ] See if the ets_table_name can be made configurable (I removed this for the sake of time)
Why did the ets_table_name become a module attribute?
This was being grabbed from the GenServer state. Because these functions are no longer going through GenServer.call/3 that state is not present. It wouldn't be too difficult to use Application.get_env/3 to pull the config but that is yet another call to ets. I started to wonder if that was worth it.
Coverage decreased (-0.9%) to 70.886% when pulling a60f599a1d5e61e0a2f4ef588cff52ff490edc09 on robmadole:unwrapped-ets into b2cf18dd66bbd2b1f2a6d8e5350b4585b4d51bce on ExHammer:master.
ExHammer/hammer/issues/33
ets_table_name
can be made configurable (I removed this for the sake of time)Why did the
ets_table_name
become a module attribute?This was being grabbed from the GenServer state. Because these functions are no longer going through
GenServer.call/3
that state is not present. It wouldn't be too difficult to useApplication.get_env/3
to pull the config but that is yet another call toets
. I started to wonder if that was worth it.