Write a Blog >>
ICPC 2022
Mon 16 - Tue 17 May 2022
co-located with ICSE 2022
Tue 17 May 2022 07:18 - 07:22 at ICPC room - Session 13: Smells, Patterns, and Refactoring Chair(s): Csaba Nagy

In the field of data science, and for academics in general, the Python programming language is a popular choice, mainly because of its libraries for storing, manipulating, and gaining insight from data. Evidence includes the versatile set of machine learning, data visualization, and manipulation packages used for the ever-growing size of available data. The Zen of Python is a set of guiding design principles that developers use to write acceptable and elegant Python code. Most principles revolve around simplicity. However, as the need to compute large amounts of data, performance has become a necessity for the Python programmer. The new idea in this paper is to confirm whether writing the Pythonic way peaks performance at scale. As a starting point, we conduct a set of preliminary experiments to evaluate nine Pythonic code examples by comparing the performance of both Pythonic and Non-Pythonic code snippets. Our results reveal that writing in Pythonic idioms may save memory and time. We show that incorporating list comprehension, generator expression, zip, and itertools.zip_longest idioms can save up to 7,000 MB and up to 32.25 seconds. The results open more questions on how they could be utilized in a real-world setting. The replication package includes all scripts, and the results are available at https://doi.org/10.5281/zenodo.5712349

Tue 17 May

Displayed time zone: Eastern Time (US & Canada) change

07:10 - 07:40
Session 13: Smells, Patterns, and RefactoringEarly Research Achievements (ERA) at ICPC room
Chair(s): Csaba Nagy Software Institute - USI, Lugano
07:10
4m
Talk
Impact of Change Granularity in Refactoring Detection
Early Research Achievements (ERA)
Lei Chen Tokyo Institute of Technology, Shinpei Hayashi Tokyo Institute of Technology
DOI Pre-print Media Attached
07:14
4m
Talk
On the Developers' Attitude Towards CRAN Checks
Early Research Achievements (ERA)
Pranjay Kumar RMIT University, Davin Ie RMIT University, Melina Vidoni Australian National University
DOI Pre-print Media Attached
07:18
4m
Talk
Does Coding in Pythonic Zen Peak Performance? Preliminary Experiments of Nine Pythonic Idioms at Scale
Early Research Achievements (ERA)
Pattara Leelaprute Faculty of Engineering, Kasetsart University, Bodin Chinthanet Nara Institute of Science and Technology, Supatsara Wattanakriengkrai Nara Institute of Science and Technology, Raula Gaikovina Kula Nara Institute of Science and Technology, Pongchai Jaisri Faculty of Engineering, Kasetsart University, Takashi Ishio Nara Institute of Science and Technology
Pre-print Media Attached
07:22
4m
Talk
Code Smells in Elixir: Early Results from a Grey Literature Review
Early Research Achievements (ERA)
Lucas Francisco da Matta Vegi Federal University of Minas Gerais (UFMG), Marco Tulio Valente Federal University of Minas Gerais, Brazil
Pre-print Media Attached
07:26
14m
Live Q&A
Q&A-Paper Session 13
Early Research Achievements (ERA)


Information for Participants
Tue 17 May 2022 07:10 - 07:40 at ICPC room - Session 13: Smells, Patterns, and Refactoring Chair(s): Csaba Nagy
Info for room ICPC room:

Click here to go to the room on Midspace