Using Generators to Beat Memory Bloat

This is a past event

22 people went

ImpactFlow

2222 NE Oregon St · Portland, OR

How to find us

Entrance is on Oregon Street, north side of the building. Second floor, turn right, across from bathrooms.

Location image of event venue

Details

There will be food, give-a-ways (elePHPants) and a great time getting to know your fabulous PHP Community!

6:30 - We'll start off with Pizza and networking at 6:30

6:45 - 7:45 - Move into the presentation on Generators, by Korvin Szanto

Memory usage is something that we as developers have to be aware of. Ever debugging a memory issue and find that your once small dataset has ballooned out of proportion? And instead of dealing with the issue, you opt for upping the memory limit? Iterators can be the answer but they require a lot of code and can be very difficult to understand at a glance. Thankfully since PHP 5.5 Generators help us create and manage what would be complex iterators with simple syntax sugar. In this talk I will go over some of the ways you can implement generators and cure your memory bloat.

7:45 - Prizes

7:45 - 8:30 - Hack and Help. Have a chance to try out Generators for yourself, or bring your own project and get some help from the community.