Bug Tracker

Modify

Ticket #5160 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

Improve inArray to use Array.indexOf when available

Reported by: lrbabe Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: Cc:
Blocking: Blocked by:

Description

A small fix that brings native speed to inArray in most modern browsers. Idea of Andrea Giammachi.

Attachments

patchInArray.txt Download (398 bytes) - added by lrbabe 4 years ago.

Change History

Changed 4 years ago by lrbabe

comment:1 Changed 4 years ago by john

  • Component changed from unfilled to core

comment:2 Changed 4 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.