Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9348] MobileWeb: Rearchitect how annotations are stored internally

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-06-15T13:22:03.000+0000
Affected Version/sRelease 2.0.1
Fix Version/sRelease 2.1.0, Sprint 2012-12 MW
ComponentsMobileWeb
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2012-06-02T16:16:38.000+0000
Updated2017-03-03T23:29:55.000+0000

Description

Annotations are currently stored in an array. If an annotation is removed, the array element is nulled, but not removed. If you add and remove annotations a lot, the array becomes too big. Plus the annotations array is gettable with all those nulls. Adding a hash to lookup annotations by title and splicing annotations out of the array should solve the problem

Attachments

FileDateSize
app.js2012-06-15T13:04:26.000+00003011

Comments

  1. Chris Barber 2012-06-15

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/2409
  2. Lee Morris 2017-03-03

    Closing ticket as MobileWeb is no longer supported.

JSON Source