add-memberalign-toparrow-leftarrow-rightbellblockcalendarcamerachatchevron-leftchevron-rightchevron-small-downchevron-upcircle-with-crosscomposecrossfacebookflagfolderglobegoogleimagesinstagramkeylocation-pinmedalmoremuplabelShape 3 + Rectangle 1pagepersonpluspollsImported LayersImported LayersImported LayersshieldstartwitterwinbackClosewinbackCompletewinbackDiscountyahoo

Re: [php-49] What is the best way? Array passing

From: Alexander A.
Sent on: Tuesday, November 20, 2012 5:53 PM
Have you looked into an in-memory database like Redis? This won't have the same latency of a normal on-disk database.

On Tue, Nov 20, 2012 at 5:52 PM, Will Wheeler <[address removed]> wrote:
I have a smallish 2d array of around 2000 items and id like it be accessible via multiple classes simultaneously.  I cant add a database in because the query time destroys the speed. 

I *think* i need to do this so that while one object is setting attributes, another one can act on them.

I dont know what to look for or what it might be called in order to research it.  

Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Will Wheeler ([address removed]) from The Seattle PHP Meetup Group.
To learn more about Will Wheeler, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]

Our Sponsors

  • TUNE

    Meeting space and food

  • PluralSight

    PluralSight subscriptions for developer training

  • Siteground

    Information coming Soon

  • O'Reilly

    Disc Code: PCBW is good for 40% off print and 50% off ebooks and videos

  • JetBrains PhpStorm

    Occasional free licenses to raffle off at meetups

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy