Although checking type of every element of every container type at runtime can make negative performance, users of this library expect these kinds of typechecks are done as well. If the problem is that its computation is O(n) I think we can sample only some elements to check types.
Although checking type of every element of every container type at runtime can make negative performance, users of this library expect these kinds of typechecks are done as well. If the problem is that its computation is O(n) I think we can sample only some elements to check types.
/cc @ipdae