GithubHelp home page GithubHelp logo

mini-ios-todo's People

Contributors

inyong-e avatar

Watchers

 avatar  avatar

mini-ios-todo's Issues

Todo List 컴포넌트에서 엔트리 삭제하는 로직을 최적화 시키는 작업

현재 Todo List 컴포넌트에서 엔트리를 삭제할 때, 투두 그룹에서 선택된 현재 투두, 그리고 해당 투두의 선택된 엔트리를 찾는 O(n^2) 의 동작이 발생합니다.

원인
TodoList의 props로 투두 데이터 전체를 내려주는 로직으로 되어 있음.
사유: 검색어에 의한 결과 값을 투두 전체 범위로 검색 후 보여주다보니 전체를 내려주어야 된다고 판단.

해결 방법
검색어에 의한 결과 화면을 TodoList 컴포넌트와 분리하여 따로 보여주는 로직으로 수정한다.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.