Sort a list of object identifiers: Difference between revisions

m
→‎Using Coroutine: removed efficiency comment, seems coroutine overhead not cheap, efficiency depend on data.
m (→‎{{header|Lua}}: +coroutine)
m (→‎Using Coroutine: removed efficiency comment, seems coroutine overhead not cheap, efficiency depend on data.)
Line 555:
for _, oid in pairs(OIDs) do print(oid) end
</lang>
The wrapped coroutine lazily generate elements for comparison, should be a bit efficient.
 
=={{header|Perl}}==
Anonymous user