Skip to main content
pkglog
BlogSeriesAbout
KO

인기글

  • 1 Vercel 배포 실전: Git 연동, 환경 변수 실수, Edge vs Node 런타임, ISR, 빌드 실패 대응
  • 2 Cloudflare Pages 배포: GitHub 연동, Wrangler CLI, Pages Functions와 Vercel·Netlify 비교
  • 3 개인 프로젝트에 쓸 수 있는 무료 공개 API 100선: 날씨·지도·금융·AI·공공데이터
  • 4 AAC 오디오 코덱: LC-AAC·HE-AAC 압축 원리와 FFmpeg 인코딩 설정
  • 5 C++ nlohmann/json 실전: 파싱·커스텀 타입 직렬화·에러 처리와 자주 틀리는 동작

최근 업데이트

  • 개발자를 위한 AI 프롬프트 엔지니어링 | ChatGPT·Claude·Cursor 실전 Oct 2, 2026
  • 바이브 코딩을 제대로 쓰는 법: Cursor·Copilot·Claude의 컨텍스트 수집과 검증 습관 Oct 2, 2026
  • LeetCode 패턴: 두 포인터와 슬라이딩 윈도우 | 템플릿과 C++/Python Oct 2, 2026
  • 기초 정렬 알고리즘: 버블·선택·삽입 정렬의 동작과 O(n²)인 이유 Oct 2, 2026
  • 고급 정렬: 퀵·병합·힙 정렬이 O(n log n)인 이유와 선택 기준 Oct 2, 2026

Tag: vector

5 posts

All posts

  • Jul 23, 2026 12 min read Intermediate

    vector vs list vs deque: Why Cache Locality Usually Beats Big-O

    Choosing between C++ STL vector, list and deque: internal layouts, time complexity, real benchmarks showing cache effects, and a situation-by-situation selection guide.

  • Jun 19, 2026 20 min read Beginner

    std::vector in Practice: reserve vs resize, Iterator Invalidation and 2D Vectors

    std::vector explained: why it beats raw arrays, reserve vs resize, iterator invalidation, algorithms, 2D vectors, and practical examples with pitfalls.

  • Jun 2, 2026 12 min read Intermediate

    C++ Iterator Invalidation: “vector iterators incompatible”

    Iterator invalidation rules for vector, deque, list, map and unordered_map, ten bugs behind 'vector iterators incompatible', and fixes using erase's return.

  • May 29, 2026 10 min read Beginner

    C++ Array vs vector: Performance, Safety, and When to Use

    C arrays, std::array, and std::vector compared: where the memory lives, pointer decay, bounds checks, copy semantics, and where the real performance cost is.

  • May 29, 2026 11 min read Beginner

    C++ vector reserve vs resize: When to Use Which

    vector::reserve changes capacity only while resize changes size and constructs elements. Covers the v[i]-after-reserve bug, growth rules, and reserve-in-a-loop.

pkglog

Notes on C++, backend, and DevOps problems, written and maintained by 0xmote.

Content

Blog Series Glossary

Info

About Contact FAQ Sitemap

Legal

Privacy Policy Terms of Use

© 2026 pkglog. All rights reserved.

Built with Astro

This site uses cookies for traffic analysis and personalized ads served via Google AdSense. See our Privacy Policy for details.