Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = [].reserve(80000);
- t0 = ftime();
- for(i=0;i<80000;++i)
- a.push( rand() );
- t1 = ftime();
- a.sort();
- t2 = ftime();
- printlns(
- "fill: " $ t1 - t0,
- "sort: " $ t2 - t1
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement