import type { L } from 'ts-toolbelt' ; param list0 param list1 returns function concat < I0 , I1 > ( list0 , list1 ) { let length = list0 . length + list1 . length ; if ( length > 200 ) return list0 . concat ( list1 as any ) ; const _list = new Array ( length ) ; for ( let i = list1 . length - 1 ; i >= 0 ; -- i ) { _list [ -- length ] = list1 [ i ] ; } for ( let i = list0 . length - 1 ; i >= 0 ; -- i ) { _list [ -- length ] = list0 [ i ] ; } return _list ; } export { concat } ;