Both implementations are included in the single file so it's easy to compare the two, the implementation is almost identical for the method body.