erlang/otp — pull request #382 by gorillainduction (2014-05-26 13:12:25+00:00)
Title: Optimize tid lock table

By making the ets table mnesia_tid_locks an ordered set instead of a
bag, the time for inserting locks for a transaction with large number
of locks is reduced significantly.