+
Skip to content

[select] use for loop instead of push.apply #403

@timmywil

Description

@timmywil

Migrated from jquery/jquery#3704

We decided in the meeting to try a for loop instead of push.apply. Check perf to be sure, but for loops are so heavily optimized these days that it might even be better. It has the added advantage of not causing "stack limit exceeded" errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Has a jQuery counterpartIssues that have a related jQuery issue; used to identify issues relevant after Sizzle is archived

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载