Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Some small optimizations #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 30, 2013

  1. Test boolean truthness of string directly, use 'map' not 'each'.

    Since only the empty string returns false, the test for nonzero length can be expressed as a direct boolean check. Also replaced 'each' call with 'map', which removes an unused variable in the processing function.
    edelooff committed Oct 30, 2013
    Configuration menu
    Copy the full SHA
    14a038c View commit details
    Browse the repository at this point in the history