Yeah, there are more objects created and I imagine the generator protocol calls aren't cheap.
Oops also it would break if the filtered list were empty. Guarding it by adding index = -1 before removes the golf benefit.
Once again, explicit is better.
Yeah, there are more objects created and I imagine the generator protocol calls aren't cheap.
Oops also it would break if the filtered list were empty. Guarding it by adding index = -1 before removes the golf benefit.
Once again, explicit is better.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.