Mostrar el registro sencillo del ítem

dc.contributor.authorSaborido, Rubén
dc.contributor.authorMorales, Rodrigo
dc.contributor.authorKhomh, Foutse
dc.contributor.authorGuéhéneuc, Yann-Gaël
dc.contributor.authorAntoniol, Giuliano
dc.date.accessioned2024-09-30T12:22:19Z
dc.date.available2024-09-30T12:22:19Z
dc.date.issued2018
dc.identifier.citationSaborido, R., Morales, R., Khomh, F. et al. Getting the most from map data structures in Android. Empir Software Eng 23, 2829–2864 (2018). https://doi.org/10.1007/s10664-018-9607-8es_ES
dc.identifier.urihttps://hdl.handle.net/10630/34061
dc.description.abstractA map is a data structure that is commonly used to store data as key–value pairs and retrieve data as keys, values, or key–value pairs. Although Java offers different map implementation classes, Android SDK offers other implementations supposed to be more efficient than HashMap: ArrayMap and SparseArray variants (SparseArray, LongSparseArray, SparseIntArray, SparseLongArray, and SparseBooleanArray). Yet, the performance of these implementations in terms of CPU time, memory usage, and energy consumption is lacking in the official Android documentation; although saving CPU, memory, and energy is a major concern of users wanting to increase battery life. Consequently, we study the use of map implementations by Android developers in two ways. First, we perform an observational study of 5713 Android apps in GitHub. Second, we conduct a survey to assess developers’ perspective on Java and Android map implementations. Then, we perform an experimental study comparing HashMap, ArrayMap, and SparseArray variants map implementations in terms of CPU time, memory usage, and energy consumption. We conclude with guidelines for choosing among the map implementations: HashMap is preferable over ArrayMap to improve energy efficiency of apps, and SparseArray variants should be used instead of HashMap and ArrayMap when keys are primitive types.es_ES
dc.language.isoenges_ES
dc.publisherSpringeres_ES
dc.rightsAttribution-NonCommercial-NoDerivatives 4.0 Internacional*
dc.rights.urihttp://creativecommons.org/licenses/by-nc-nd/4.0/*
dc.subjectEstructuras de datos (Informática)es_ES
dc.subject.otherAndroides_ES
dc.subject.otherMap data structurees_ES
dc.subject.otherMap implementationses_ES
dc.subject.otherCPU usagees_ES
dc.subject.otherMemory usagees_ES
dc.subject.otherEnergy consumptiones_ES
dc.titleGetting the most from map data structures in Androides_ES
dc.typejournal articlees_ES
dc.centroE.T.S.I. Informáticaes_ES
dc.identifier.doihttps://doi.org/10.1007/s10664-018-9607-8
dc.type.hasVersionSMURes_ES
dc.departamentoLenguajes y Ciencias de la Computación
dc.rights.accessRightsopen accesses_ES


Ficheros en el ítem

Este ítem aparece en la(s) siguiente(s) colección(ones)

Mostrar el registro sencillo del ítem