CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Is there something faster than push(@array,'string')?: Edit Log



bulrush
User

Aug 30, 2016, 6:56 AM


Views: 2603
Is there something faster than push(@array,'string')?

I'm trying to make certain parts of my program run faster. Is there something faster than this?

Code
push(@array,'string');


  1. I just need to put the 'string' anywhere into the array, the order does not matter and the array does not get sorted.
  2. Assume the data has to go into an array, not another data structure.


Also, is there a website with hints on how to make Perl faster?

Thank you.
-----


(This post was edited by bulrush on Aug 30, 2016, 7:17 AM)


Edit Log:
Post edited by bulrush (User) on Aug 30, 2016, 7:17 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives