[Dart] Map 구현체: HashMap, SplayTreeMap, LinkedHashMap

Flutter 개발을 하다가 key를 기준으로 정렬되는 map 자료형이 필요하여 공부를 찾아보다가 생각보다 여러 가지 구현체가 있다는 것을 알게 됐다. Dart 언어를 접한 지 벌써 3년이 다 되어가는데 이런 요구사항이 있었던 적이 한 번도 없었어서 이제야 알게 됐다는 것이 놀라웠다. 그래서 오늘은 세 가지 Dart Map 구현체 HashMap, SplayTreeMap, LinkedHashMap에 대해서 살펴보고 각 구현체를 언제 사용해야 하는... https://cloud-whale.hashnode.dev/dart-hashmap-splaytreemap-linkedhashmap

Created 1y | Jan 21, 2024, 1:30:24 AM


Login to add comment

Other posts in this group

Experience seamless production updates with Shorebird in Flutter

Shorebird is a code-push solution designed specifically for Flutter, providing stability on both Android and iOS platforms. With Shorebird, you can address app issues without publishing updates to the

Jun 10, 2024, 10:20:07 AM | Hashnode flutter
Road Map For Flutter Developer

Creating a roadmap for learning Flutter involves breaking down the process into manageable steps. Here's a comprehensive roadmap that can guide you from a beginner to an advanced Flutter developer: 1.

Jun 9, 2024, 6:50:15 AM | Hashnode flutter
How to Implement Type-Safe Navigation with go_router in Flutter

Exciting News! Our blog has a new Home! 🚀 Background With type-safe navigation, your navigation logic becomes consistent and maintainable, significantly simplifying debugging and future code modificat

Jun 7, 2024, 11:40:04 AM | Hashnode flutter
Connect Xcode with apple developer account

In Flutter, while developing an app to test it in iOS environment we generally use simulators and connect any apple id to Xcode for building the app on iOS platform. While it's sufficient for developm

Jun 6, 2024, 7:40:04 PM | Hashnode flutter
Exploring Dart Compilers: Everything You Need to Know

When embarking on the journey of app development, the choice of programming and its associated compilation methods can significantly influence the efficiency and performance of your application. Dart,

Jun 6, 2024, 1:30:05 AM | Hashnode flutter
Unlocking the Power of Mixins in Flutter: A Beginner's Guide

Hey there! In this blog, I'll explain what mixins are and how they can help you write cleaner, more reusable code in your Flutter projects. Whether you're new to Flutter or looking to deepen your unde

Jun 5, 2024, 11:50:04 AM | Hashnode flutter
Understanding Mixins in Dart and Flutter

Hello friends, Today we'll explore an interesting and powerful concept in Dart and Flutter programming called mixins. Mixins are a fundamental feature that can greatly enhance the way we write and man

Jun 5, 2024, 7:20:06 AM | Hashnode flutter